Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- quoteExprExp :: String -> ExpQ
- quoteExprPat :: String -> PatQ
- extQOnFreeVars :: (Typeable b, Typeable loc) => (Set VarName -> loc -> Maybe q) -> NExpr -> b -> Maybe q
- parseExpr :: MonadFail m => Text -> m NExpr
- freeVars :: NExpr -> Set VarName
- class ToExpr a where
- metaExp :: Set VarName -> NExprLoc -> Maybe ExpQ
- metaPat :: Set VarName -> NExprLoc -> Maybe PatQ
- nix :: QuasiQuoter
Documentation
quoteExprExp :: String -> ExpQ Source #
quoteExprPat :: String -> PatQ Source #
extQOnFreeVars :: (Typeable b, Typeable loc) => (Set VarName -> loc -> Maybe q) -> NExpr -> b -> Maybe q Source #
Helper function.
nix :: QuasiQuoter Source #