
22 Jul
2013
22 Jul
'13
2:39 p.m.
On Fri, Jul 19, 2013 at 06:58:39PM +0200, Jan Stolarek wrote:
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?
I can't think of one. If you discover one, please add it as a comment where the rules would otherwise be. Thanks Ian -- Ian Lynagh, Haskell Consultant Well-Typed LLP, http://www.well-typed.com/