I'm using the simple quasiquoter from the Haskell Wiki for multiline strings.
import Language.Haskell.TH
import Language.Haskell.TH.Quote
str = QuasiQuoter { quoteExp = stringE }
I get the following warning:
Fields of ‘QuasiQuoter’ not initialised: quotePat, quoteType,
quoteDec
In the expression: QuasiQuoter {quoteExp = stringE}
In an equation for ‘str’: str = QuasiQuoter {quoteExp = stringE}
What is the proper way to squelch this warning? Should I be initialising quotePat etc, perhaps to undefined or something else?