Allow the evaluation of declaration splices in GHCi
|Reported by:||parcs||Owned by:|
|Type of failure:||None/Unknown||Test Case:|
|Related Tickets:||Differential Rev(s):|
As it stands GHCi cannot evaluate declaration splices because all splices are assumed to be expression splices:
> $( [d| a = True |] ) <interactive>:1:4: Couldn't match expected type `Language.Haskell.TH.Syntax.Exp' with actual type `[Language.Haskell.TH.Syntax.Dec]' ...
Change History (4)
Note: See TracTickets for help on using tickets.