• simonpj@microsoft.com's avatar
    Allow $x, as well as $(x), at top level in TH · 6b2cf62b
    simonpj@microsoft.com authored
    Bulat pointed out that in Template Haskell
    is allowed instead of 
    in expressions, but not at the top level of modules.
    This commit fixes the omission.  Now you can say
    	f x = x
    	data T = T
    and the $h will run Template Haskell just as you'd expect.
Parser.y.pp 55.4 KB