Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell98 |
The data type of compiler options
- data Mode
- data ModeOptions mode where
- CompileOptions :: String -> [String] -> [String] -> ModeOptions Compile
- MakeOptions :: ModeOptions Make
- browserNamespace :: ModeOptions Compile -> String
- entryPointModules :: ModeOptions Compile -> [String]
- codeGenModules :: ModeOptions Compile -> [String]
- data Options mode = Options {}
- defaultCompileOptions :: Options Compile
- defaultMakeOptions :: Options Make
Documentation
Indicates the mode of the compiler. Lifted using DataKinds to refine the Options type.
data ModeOptions mode where Source
Per-mode options
CompileOptions :: String -> [String] -> [String] -> ModeOptions Compile | |
MakeOptions :: ModeOptions Make |
Show (ModeOptions mode) |
entryPointModules :: ModeOptions Compile -> [String] Source
codeGenModules :: ModeOptions Compile -> [String] Source
The data type of compiler options
Options | |
|
defaultCompileOptions :: Options Compile Source
Default compiler options
defaultMakeOptions :: Options Make Source
Default make options