Adding constant folding for Integer div and mod

Jan Stolarek jan.stolarek at
Fri Jul 19 18:58:39 CEST 2013

It seems that currently there are no built-in constant folding rules for Integer div and mod. I plan on adding those rules, but before I do that I wanted to ask whether there is a good reason that these rules don't exist?


More information about the ghc-devs mailing list