Safe Haskell | None |
---|---|
Language | Haskell98 |
Desugars a reasonable amount of syntax to reduce duplication in code generation.
- desugar :: (Data l, Typeable l) => l -> Module l -> IO (Either CompileError (Module l))
- desugar' :: (Data l, Typeable l) => String -> l -> Module l -> IO (Either CompileError (Module l))
- desugarExpParen :: (Data l, Typeable l) => Module l -> Module l
- desugarPatParen :: (Data l, Typeable l) => Module l -> Module l
Documentation
desugar :: (Data l, Typeable l) => l -> Module l -> IO (Either CompileError (Module l)) Source #
Top level, desugar a whole module possibly returning errors