purescript-0.4.1: PureScript Programming Language Compiler

Safe HaskellSafe-Inferred

Language.PureScript.Options

Description

The data type of compiler options

Synopsis

Documentation

data Options Source

The data type of compiler options

Constructors

Options 

Fields

optionsTco :: Bool

Perform tail-call elimination

optionsPerformRuntimeTypeChecks :: Bool

Perform type checks at runtime

optionsMagicDo :: Bool

Inline calls to ret and bind for the Eff monad

optionsMain :: Maybe String

When specified, checks the type of main in the module, and generate a call to run main after the module definitions.

optionsNoOptimizations :: Bool

Skip all optimizations

optionsBrowserNamespace :: String

Specify the namespace that PureScript modules will be exported to when running in the browser.

optionsModules :: [String]

The modules to keep while enabling dead code elimination

Instances

defaultOptions :: OptionsSource

Default compiler options