purescript-0.5.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

optionsNoPrelude :: Bool

Disable inclusion of the built in Prelude

optionsNoTco :: Bool

Disable tail-call elimination

optionsPerformRuntimeTypeChecks :: Bool

Perform type checks at runtime

optionsNoMagicDo :: Bool

Disable inlining of calls to return 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 :: Maybe 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

optionsCodeGenModules :: [String]

The modules to code gen

optionsVerboseErrors :: Bool

Verbose error message

Instances

defaultOptions :: OptionsSource

Default compiler options