Getting Rewrite Rules from ModGuts

Bill Hallahan william.hallahan at
Fri Apr 12 20:52:42 UTC 2019

I figured out what was happening to the rules.  In case anyone finds this thread later: rules for local functions do not go in the ModGuts or CgGuts, but are instead put in the IdInfo in individual Id's.  A description of this is in the [Overall plumbing for rules] note in Rules:


> On Apr 12, 2019, at 11:04 AM, Bill Hallahan <william.hallahan at> wrote:
> Thanks Roland. Unfortunately, this also doesn't seem to work- I tried unsetting Opt_IgnoreInterfacePragmas both with and without setting Opt_EnableRewriteRules, and no combination results in the rules being loaded.
> Bill
>> On Apr 12, 2019, at 4:25 AM, Roland Senn <rsx at <mailto:rsx at>> wrote:
>> Opt_IgnoreInterfacePragmas

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the ghc-devs mailing list