Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- qqStr :: QuasiQuoter
- qqRawStr :: QuasiQuoter
- qqTxt :: QuasiQuoter
- data QuasiQuoter
Documentation
qqStr :: QuasiQuoter Source #
qqTxt :: QuasiQuoter Source #
data QuasiQuoter #
The QuasiQuoter
type, a value q
of this type can be used
in the syntax [q| ... string to parse ...|]
. In fact, for
convenience, a QuasiQuoter
actually defines multiple quasiquoters
to be used in different splice contexts; if you are only interested
in defining a quasiquoter to be used for expressions, you would
define a QuasiQuoter
with only quoteExp
, and leave the other
fields stubbed out with errors.