| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Axel.Haskell.Converter
Documentation
unsupportedExpr :: Pretty a => a -> Expression Source #
unsupportedStmt :: Pretty a => a -> Statement Source #
Methods
toExpr :: a b -> Expression Source #
Instances
class ToStmts a where Source #
Instances
| ToStmts Module Source # | |
| ToStmts ImportDecl Source # | |
Defined in Axel.Haskell.Converter Methods toStmts :: ImportDecl b -> [Statement] Source # | |
| ToStmts Decl Source # | |
| ToStmts Match Source # | |
| ToStmts ModulePragma Source # | |
Defined in Axel.Haskell.Converter Methods toStmts :: ModulePragma b -> [Statement] Source # | |
declHeadToTyDef :: DeclHead a -> TypeDefinition Source #
bindsToFunDefs :: Maybe (Binds a) -> [FunctionDefinition] Source #
altToClause :: Alt a -> (Expression, Expression) Source #
bindsToClauses :: Binds a -> [(Expression, Expression)] Source #
classDeclToTySig :: ClassDecl a -> TypeSignature Source #
contextToExprs :: Maybe (Context a) -> [Expression] Source #
convertFile :: (LastMember IO effs, Members '[Console, FileSystem] effs) => FilePath -> FilePath -> Eff effs String Source #