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 -- Perform tail-call elimination
27 -- Inline calls to ret and bind for the Eff monad
29 , optionsMagicDo :: Bool
31 -- When specified, checks the type of `main` in the module, and generate a call to run main
32 -- after the module definitions.
34 , optionsMain :: Maybe String
36 -- Skip all optimizations
38 , optionsNoOptimizations :: Bool
40 -- Specify the namespace that PureScript modules will be exported to when running in the
43 , optionsBrowserNamespace :: String
45 -- The modules to keep while enabling dead code elimination
47 , optionsModules :: [String]
51-- Default compiler options
53defaultOptions :: Options
54defaultOptions = Options False False Nothing False "PS" []
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