ModuleAgda-2.7.0.1Haskell2010
Agda.Compiler.JS.Compiler
Main module for JS backend.
- 3 types
- 39 values
- PackageAgda-2.7.0.1
- Exports42
- LanguageHaskell2010
- LicenceMIT
- SourceCompiler.hs
Constructors
JSOptionsoptJSCompile :: BooloptJSOptimize :: BooloptJSMinify :: BoolRemove spaces etc. See https://en.wikipedia.org/wiki/Minification_(programming).
optJSVerify :: BoolRun generated code through interpreter.
optJSModuleStyle :: JSModuleStyle
Instances3Generic, NFData, Rep
Generic JSOptionsDefined in Agda-2.7.0.1 · Agda.Compiler.JS.CompilerNFData JSOptionsDefined in Agda-2.7.0.1 · Agda.Compiler.JS.Compilertype Rep JSOptions = D1 ('MetaDataDefined in Agda-2.7.0.1 · Agda.Compiler.JS.Compiler"JSOptions"
"Agda.Compiler.JS.Compiler"
"Agda-2.7.0.1-DbbZpETDDF1KkwuzEZvfn8"
'False) (C1 ('MetaCons"JSOptions"
'PrefixI 'True) ((S1 ('MetaSel ('Just"optJSCompile"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just"optJSOptimize"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just"optJSMinify"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: (S1 ('MetaSel ('Just"optJSVerify"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just"optJSModuleStyle"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 JSModuleStyle)))))
After all modules have been compiled, copy RTE modules and verify compiled modules.
Constructors
JSModuleEnvjsCoinductionKit :: Maybe CoinductionKitjsCompile :: BoolShould this module be compiled?
Ensure that there is at most one pragma for a name.