|
Distribution.Compiler | Portability | portable | Stability | alpha | Maintainer | Isaac Jones <ijones@syntaxpolice.org> |
|
|
|
|
|
Description |
Haskell implementations. |
|
Synopsis |
|
|
|
|
Haskell implementations |
|
data CompilerFlavor |
Constructors | GHC | | NHC | | Hugs | | HBC | | Helium | | JHC | | OtherCompiler String | |
| Instances | |
|
|
data Compiler |
Constructors | Compiler | | compilerFlavor :: CompilerFlavor | | compilerVersion :: Version | | compilerPath :: FilePath | | compilerPkgTool :: FilePath | |
|
| Instances | |
|
|
showCompilerId :: Compiler -> String |
|
compilerBinaryName :: CompilerFlavor -> String |
|
Support for language extensions |
|
type Opt = String |
|
extensionsToFlags :: CompilerFlavor -> [Extension] -> ([Extension], [Opt]) |
For the given compiler, return the unsupported extensions, and the
flags for the supported extensions. |
|
extensionsToNHCFlag :: [Extension] -> ([Extension], [Opt]) |
NHC: Return the unsupported extensions, and the flags for the supported extensions |
|
extensionsToGHCFlag :: [Extension] -> ([Extension], [Opt]) |
GHC: Return the unsupported extensions, and the flags for the supported extensions |
|
extensionsToHugsFlag :: [Extension] -> ([Extension], [Opt]) |
Hugs: Return the unsupported extensions, and the flags for the supported extensions |
|
Produced by Haddock version 0.6 |