purescript-0.4.2.1: PureScript Programming Language Compiler

Safe HaskellNone

Language.PureScript.CodeGen.JS

Description

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

Synopsis

Documentation

declToJs :: Options -> ModuleName -> Declaration -> Environment -> Maybe [JS]Source

Generate code in the simplified Javascript intermediate representation for a declaration

moduleToJs :: Options -> Module -> Environment -> Maybe JSSource

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