plugins10 no longer broken
[ghc.git] / testsuite / tests / plugins / QuasiQuotation.hs
1 module QuasiQuotation where
2
3 import Language.Haskell.TH
4 import Language.Haskell.TH.Quote
5
6 stringify :: QuasiQuoter
7 stringify = QuasiQuoter { quoteExp = return . LitE . StringL
8 , quotePat = return . LitP . StringL
9 , quoteType = return . LitT . StrTyLit
10 , quoteDec = const (return [])
11 }