Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
class (Applicative m, Monad m) => CodeGenMonad m where Source
newVariable :: m Name Source
class ToDefintions a where Source
toDefinitions :: a -> [Definition] Source
ToDefintion a => ToDefintions [a] |
quasiquote :: forall a b. (Data a, QQExp a b) => [Extensions] -> P a -> TQuasiQuoter b Source
quasiquoteM :: forall a b m. (Data a, QQExp a b, CodeGenMonad m) => [Extensions] -> P a -> TQuasiQuoter (m b) Source
newtype TQuasiQuoter a Source