purescript-0.8.1.0: PureScript Programming Language Compiler

Safe HaskellSafe
LanguageHaskell98

Language.PureScript.Options

Description

The data type of compiler options

Synopsis

Documentation

data Options Source

The data type of compiler options

Constructors

Options 

Fields

optionsNoTco :: Bool

Disable tail-call elimination

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

optionsVerboseErrors :: Bool

Verbose error message

optionsNoComments :: Bool

Remove the comments from the generated js

optionsRequirePath :: Maybe FilePath

The path to prepend to require statements

optionsSourceMaps :: Bool

Generate soure maps

defaultOptions :: Options Source

Default make options