Getting Rewrite Rules from ModGuts
Bill Hallahan
william.hallahan at yale.edu
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:
http://hackage.haskell.org/package/ghc-8.6.1/docs/src/Rules.html
-Bill
> On Apr 12, 2019, at 11:04 AM, Bill Hallahan <william.hallahan at yale.edu> 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 bluewin.ch <mailto:rsx at bluewin.ch>> wrote:
>>
>> Opt_IgnoreInterfacePragmas
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20190412/142531e4/attachment.html>
More information about the ghc-devs
mailing list