patch applied (packages/base): FIX #1434
Simon Marlow
marlowsd at gmail.com
Wed Oct 20 06:23:43 EDT 2010
Wed Oct 20 02:10:14 PDT 2010 Daniel Fischer <daniel.is.fischer at web.de>
* FIX #1434
Rewrite rules for RealFrac methods with sized Int and Word targets.
For all types whose range is contained in Int's range, there are now
rewrite rules for properFraction, truncate, floor, ceiling and round
from Double and Float, going through the specialised methods for Int.
Unfortunately, we can't have a rewrite rule for Word.
M ./GHC/Int.hs -3 +127
M ./GHC/Word.hs +98
View patch online:
http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=packages/base;a=darcs_commitdiff;h=20101020091014-a0d69-d89187a3d83c331df77e28852589b17dddf37877.gz
More information about the Cvs-libraries
mailing list