1 2 3 4 5 6 7 8 9
{-# OPTIONS -XTemplateHaskell #-} module TH( x ) where import Language.Haskell.TH x = $(return (LitE (StringL "hello\ngoodbye\nand then")))