patch applied (packages/integer-gmp): Add a rewrite rule for
toInt# so literals work right
Simon Peyton Jones
simonpj at microsoft.com
Tue Oct 26 06:10:16 EDT 2010
Tue Oct 26 01:29:55 PDT 2010 simonpj at microsoft.com
* Add a rewrite rule for toInt# so literals work right
See the comments with toInt#, but the key point is
that we want (fromInteger 1)::Int to yield (I# 1)!
M ./GHC/Integer.lhs +6
View patch online:
http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=packages/integer-gmp;a=darcs_commitdiff;h=20101026082955-1287e-6f78fa5a678b57d08a485b7e16d33fbefd4d4e6d.gz
More information about the Cvs-libraries
mailing list