my RULES don't fire

Daniel Fischer at
Wed Feb 9 17:01:04 CET 2011

On Wednesday 09 February 2011 16:23:15, Sebastian Fischer wrote:
> Why don't the rules fire, what can I change such that they do, and what
> to get rid of the warning for the second rule (which I think is the one
> I should use)?

Didn't spot that, sorry.

> Best regards,
> Sebastian
> Here is the output of -ddump-simple-stats (once with
> -fenable-rewrite-rules only and once with -O):

Users guide says:

(NB: enabling -fenable-rewrite-rules without -O may not do what you expect, 
though, because without -O GHC ignores all optimisation information in 
interface files;

More information about the Glasgow-haskell-users mailing list