1-----------------------------------------------------------------------------
3-- Module : Language.PureScript.Options
4-- Copyright : (c) Phil Freeman 2013
7-- Maintainer : Phil Freeman <paf31@cantab.net>
8-- Stability : experimental
12-- The data type of compiler options
14-----------------------------------------------------------------------------
16module Language.PureScript.Options where
19-- The data type of compiler options
21data Options = Options {
23 -- Disable tail-call elimination
26 -- Disable inlining of calls to return and bind for the Eff monad
27 , optionsNoMagicDo :: Bool
29 -- When specified, checks the type of `main` in the module, and generate a call to run main
30 -- after the module definitions.
31 , optionsMain :: Maybe String
33 -- Skip all optimizations
34 , optionsNoOptimizations :: Bool
36 -- Verbose error message
37 , optionsVerboseErrors :: Bool
39 -- Remove the comments from the generated js
40 , optionsNoComments :: Bool
42 -- The path to prepend to require statements
43 , optionsRequirePath :: Maybe FilePath
47-- Default make options
48defaultOptions :: Options
49defaultOptions = Options False False Nothing False False False Nothing
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list