Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
fromLeftExpr :: LeftExpr -> Expr Source #
LocalNameKind | |
LocalArgumentNameKind | |
LoopCounterNameKind | |
ConstantNameKind | |
FunctionNameKind | |
ArgumentNameKind |
fromNameKind :: NameKind -> String Source #
newFreshName :: MonadAlpha m => NameKind -> m VarName Source #
renameVarName :: MonadAlpha m => NameKind -> String -> m VarName Source #
shouldBeArray :: [Type] -> Bool Source #
cinStatement :: Expr -> Statement Source #
coutStatement :: Expr -> Statement Source #
mapExprStatementExprM :: Monad m => (Expr -> m Expr) -> (Statement -> m Statement) -> Expr -> m Expr Source #
mapExprStatementLeftExprM :: Monad m => (Expr -> m Expr) -> (Statement -> m Statement) -> LeftExpr -> m LeftExpr Source #
mapExprStatementAssignExprM :: Monad m => (Expr -> m Expr) -> (Statement -> m Statement) -> AssignExpr -> m AssignExpr Source #
mapExprStatementStatementM :: Monad m => (Expr -> m Expr) -> (Statement -> m Statement) -> Statement -> m Statement Source #
mapExprStatementToplevelStatementM :: Monad m => (Expr -> m Expr) -> (Statement -> m Statement) -> ToplevelStatement -> m ToplevelStatement Source #
mapExprStatementProgramM :: Monad m => (Expr -> m Expr) -> (Statement -> m Statement) -> Program -> m Program Source #