Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
quasiName :: QuasiQuoter Source
QuasiQuoter
interface to trueName
. Accepts two or more
corresponding argument tokens: first should be sans ""
-quotes; the
namespace for the second is denoted in the usual TH syntax of either
a single '
or double ''
prefix.
Extra tokens are assigned as variable names in a Pat
context. Exp
and
Type
are always created with ConE
and ConT
respectively, so this is
not quite as flexible as trueName
.