Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data CLI
- data InstallMode
- newtype Compiler = Compiler {}
- newtype CompilerVersion = CompilerVersion {
- getCompilerVersion :: (Int, Int, Int)
- newtype Tool = Tool {
- getTool :: (ToolName, Maybe CompilerVersion)
- data ToolName
- newtype ToolArgs = ToolArgs {
- getToolArgs :: [Text]
- newtype Manager = Manager {
- getManager :: Text
Documentation
command line abstrax syntax type
data InstallMode Source #
how to react to a missing toolchain?
IM_no_install | do not try to install, report error |
IM_install | download and install |
IM_ask_install | ask the user if they want to install the misssing toolchain |
Instances
ghc
or ghc-8.10.4
, etc.
newtype CompilerVersion Source #
8.6.5
, etc.
CompilerVersion | |
|
Instances
ghci
or ghc-pkg-9.0.1
, etc.
Tool | |
|
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 |
list of command line arguments to be passed through to the compiler tool
ToolArgs | |
|