|
RE: Meaning of -fno-foldr-build-on?: msg#00092lang.haskell.glasgow.bugs
| So, the fold/build rule is being applied even if you run GHC with | -fno-foldr-build-on. I RTFSed, and it appears that the only place in GHC | where the -ffoldr-build-on command-line option is looked at is in | DsListComp.lhs. | | In the flag reference in the manual, the effect of -ffoldr-build-on is listed | as "Enable foldr-build optimisation" (presumably suggesting that | -fno-foldr-build-on disables the optimization). This seems misleading if the | only thing that -ffoldr-build-on/-fno-foldr-build-on actually does is to | control whether list comprehensions are desugared using foldr/build. It's definitely misleading. I've removed it, replacing it with a -frules-off flag to switch off all rewrite rules. There's no way to switch off foldr/build all by itself. Simon
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Meaning of -fno-foldr-build-on?, Kirsten Chevalier |
|---|---|
| Next by Date: | [ ghc-Bugs-759910 ] Non-exhaultive patterns from derived Read, SourceForge.net |
| Previous by Thread: | Meaning of -fno-foldr-build-on?, Kirsten Chevalier |
| Next by Thread: | reifyDecl is completely broken, abe |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |