Safe Haskell | None |
---|---|
Language | Haskell98 |
- data Config = Config {
- configLogBuild :: Bool
- configDump :: Bool
- configInferTypes :: Bool
- configSimplSalt :: Simplifier Int () Name
- configViaBackend :: ViaBackend
- configRuntime :: Config
- configRuntimeLinkStrategy :: RuntimeLinkStrategy
- configBuilder :: Builder
- configPretty :: ConfigPretty
- configSuppressHashImports :: Bool
- configModuleBaseDirectories :: [FilePath]
- configOutputFile :: Maybe FilePath
- configOutputDir :: Maybe FilePath
- configKeepLlvmFiles :: Bool
- configKeepSeaFiles :: Bool
- configKeepAsmFiles :: Bool
- configTaintAvoidTypeChecks :: Bool
- data ConfigPretty = ConfigPretty {}
- defaultConfigPretty :: ConfigPretty
- prettyModeOfConfig :: (Eq n, Pretty n) => ConfigPretty -> PrettyMode (Module a n)
- objectPathOfConfig :: Config -> FilePath -> FilePath
- exePathOfConfig :: Config -> FilePath -> FilePath
- data ViaBackend
- data RuntimeLinkStrategy
Documentation
Configuration for main compiler stages.
Config | |
|
data ConfigPretty Source
Core language pretty printer configuration.
defaultConfigPretty :: ConfigPretty Source
Default pretty printer configuration.
prettyModeOfConfig :: (Eq n, Pretty n) => ConfigPretty -> PrettyMode (Module a n) Source
Convert a the pretty configuration into the mode to use to print a module.
We keep the ConfigPretty
type separate from PrettyMode because the
former can be non-recursive with other types, and does not need to be
parameterised by the annotation or name types.
objectPathOfConfig :: Config -> FilePath -> FilePath Source
Given the name of a source file, determine the name of the associated object file.
exePathOfConfig :: Config -> FilePath -> FilePath Source
Given the name of a source file, determine the name of an associated executable file.
data ViaBackend Source
data RuntimeLinkStrategy Source
LinkDefault | Use the platform's default strategy. |
LinkStatic | Link the runtime statically. |