
9 Jun
2008
9 Jun
'08
6:47 p.m.
claus.reinke:
nope!-) -fglasgow-exts is sufficient for the RULE to be parsed and applied in Lennart's code, -frewrite-rules doesn't seem to serve any noticable purpose.
Well, if -O is on, -frewrite-rules is already on by default. Try -fno-rewrite-rules with -O to turn them off specifically,
yep, see my note in the ticket about this confusion.
or in ghci, -frewrite-rules can be used to help them fire even on bytecode.
when i tried this earlier, the hpc ticks seemed to get in the way?
HPC will break rules, yes. See: "-fhpc inteferes/prevents rewrite rules from firing" http://hackage.haskell.org/trac/ghc/ticket/2224 -- Don