ghc-mod/test/data/template-haskell/Foo.hs

10 lines
227 B
Haskell
Raw Normal View History

2015-03-05 15:50:06 +00:00
module Foo (foo, fooQ) where
import Language.Haskell.TH
import Language.Haskell.TH.Quote (QuasiQuoter(..))
foo :: ExpQ
foo = stringE "foo"
fooQ :: QuasiQuoter
fooQ = QuasiQuoter (litE . stringL) undefined undefined undefined