Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- newtype Compiler = Compiler {}
- newtype Tool = Tool {
- getTool :: (ToolName, Maybe CompilerVersion)
- newtype CompilerVersion = CompilerVersion {
- getCompilerVersion :: (Int, Int, Int)
- data ToolName
- compiler :: CompilerVersion -> Compiler
- compiler' :: Maybe CompilerVersion -> Compiler
- compilerVersion :: Compiler -> Maybe CompilerVersion
- toolVersion :: Tool -> Maybe CompilerVersion
- compilerToGhcTool :: Compiler -> Tool
- compilerToTool :: (ToolName, Compiler) -> Tool
- toolToCompiler :: Tool -> Compiler
- toolToCompiler' :: Tool -> (ToolName, Compiler)
Documentation
ghc
or ghc-8.10.4
, etc.
ghci
or ghc-pkg-9.0.1
, etc.
Tool | |
|
newtype CompilerVersion Source #
8.6.5
, etc.
CompilerVersion | |
|
Instances
ghc
, ghc-pkg
, ghci
, etc.
Instances
Bounded ToolName Source # | |
Enum ToolName Source # | |
Eq ToolName Source # | |
Ord ToolName Source # | |
Defined in HS.Types.CompilerTool | |
Show ToolName Source # | |
EnumText ToolName Source # | |
Defined in HS.Types.CompilerTool configEnumText :: ToolName -> EnumTextConfig # renderEnumText :: ToolName -> Text # buildEnumText :: ToolName -> Builder # parseEnumText :: Text -> Possibly ToolName # toFieldEnumText :: ToolName -> ByteString # fromFieldEnumText_ :: MonadFail m => ByteString -> m ToolName # hashWithSaltEnumText :: Int -> ToolName -> Int # | |
TextParsable ToolName Source # | |
Buildable ToolName Source # | |
Defined in HS.Types.CompilerTool |
compiler :: CompilerVersion -> Compiler Source #
toolVersion :: Tool -> Maybe CompilerVersion Source #
compilerToGhcTool :: Compiler -> Tool Source #
toolToCompiler :: Tool -> Compiler Source #