purescript-0.6.4: PureScript Programming Language Compiler

Safe HaskellNone
LanguageHaskell98

Language.PureScript.CodeGen.JS

Description

This module generates code in the simplified Javascript intermediate representation from Purescript code

Synopsis

Documentation

bindToJs :: (Functor m, Applicative m, Monad m) => ModuleName -> Bind Ann -> SupplyT m [JS] Source

Generate code in the simplified Javascript intermediate representation for a declaration

moduleToJs :: (Functor m, Applicative m, Monad m) => Options mode -> Module Ann -> SupplyT m [JS] Source

Generate code in the simplified Javascript intermediate representation for all declarations in a module.