addTopDecls restrictions

3 Sep
2015
3 Sep
'15
2:27 a.m.
Hi Geoff, The TH addTopDecls function is restricted to only a few kinds of declarations (functions, mostly). This set has been expanded in #10486 (https://ghc.haskell.org/trac/ghc/ticket/10486). Do you remember why the set of allowed declarations is restricted? It looks to me like any declaration would be OK. Thanks! Richard
3548
Age (days ago)
3548
Last active (days ago)
0 comments
1 participants
participants (1)
-
Richard Eisenberg