Copyright | Satoshi Egi |
---|---|
License | MIT |
Safe Haskell | None |
Language | Haskell98 |
This module provide desugar functions.
Documentation
Instances
Monad DesugarM Source # | |
Functor DesugarM Source # | |
MonadFail DesugarM Source # | |
Defined in Language.Egison.Desugar | |
Applicative DesugarM Source # | |
MonadFresh DesugarM Source # | |
MonadError EgisonError DesugarM Source # | |
Defined in Language.Egison.Desugar throwError :: EgisonError -> DesugarM a # catchError :: DesugarM a -> (EgisonError -> DesugarM a) -> DesugarM a # |
runDesugarM :: DesugarM a -> Fresh (Either EgisonError a) Source #
desugar :: EgisonExpr -> DesugarM EgisonExpr Source #