ghc-mod/test/data/Foo.hs

10 lines
227 B
Haskell
Raw Normal View History

module Foo (foo, fooQ) where
2013-03-13 04:37:17 +00:00
import Language.Haskell.TH
import Language.Haskell.TH.Quote (QuasiQuoter(..))
2013-03-13 04:37:17 +00:00
foo :: ExpQ
foo = stringE "foo"
fooQ :: QuasiQuoter
fooQ = QuasiQuoter (litE . stringL) undefined undefined undefined