addTopDecls restrictions

Richard Eisenberg eir at
Thu Sep 3 06:27:16 UTC 2015

Hi Geoff,

The TH addTopDecls function is restricted to only a few kinds of declarations (functions, mostly). This set has been expanded in #10486 ( Do you remember why the set of allowed declarations is restricted? It looks to me like any declaration would be OK.


More information about the ghc-devs mailing list