Safe Haskell | None |
---|---|
Language | Haskell98 |
This module generates code in the simplified Javascript intermediate representation from Purescript code
- moduleToJs :: forall m. (Applicative m, Monad m, MonadReader Options m, MonadSupply m) => Module Ann -> Maybe JS -> m [JS]
- mainCall :: ModuleName -> String -> JS
Documentation
moduleToJs :: forall m. (Applicative m, Monad m, MonadReader Options m, MonadSupply m) => Module Ann -> Maybe JS -> m [JS] Source
Generate code in the simplified Javascript intermediate representation for all declarations in a module.
mainCall :: ModuleName -> String -> JS Source