Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data WhichCompiler
- data CompilerVersion
- parseCompilerVersion :: Text -> Maybe CompilerVersion
- compilerVersionText :: CompilerVersion -> Text
- compilerVersionString :: CompilerVersion -> String
- whichCompiler :: CompilerVersion -> WhichCompiler
- isWantedCompiler :: VersionCheck -> CompilerVersion -> CompilerVersion -> Bool
- getGhcVersion :: CompilerVersion -> Version
- compilerExeName :: WhichCompiler -> String
- haddockExeName :: WhichCompiler -> String
Documentation
data WhichCompiler Source #
Variety of compiler to use.
data CompilerVersion Source #
Specifies a compiler and its version number(s).
Note that despite having this datatype, stack isn't in a hurry to support compilers other than GHC.
NOTE: updating this will change its binary serialization. The
version number in the BinarySchema
instance for MiniBuildPlan
should be updated.
isWantedCompiler :: VersionCheck -> CompilerVersion -> CompilerVersion -> Bool Source #
haddockExeName :: WhichCompiler -> String Source #