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