{-# LANGUAGE Haskell2010 #-} {-# LANGUAGE QuasiQuotes #-} module UsingQuasiquotes where import Quasiquoter baz :: [Char] baz = [string| foo bar |] [Char] -> [Char] -> [Char] forall a. [a] -> [a] -> [a] ++ [string| some mulitline quasiquote |]