| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
HS.CLI.CLI
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?
Constructors
| 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.
Constructors
| Compiler | |
Fields | |
newtype CompilerVersion Source #
8.6.5, etc.
Constructors
| CompilerVersion | |
Fields
| |
Instances
ghci or ghc-pkg-9.0.1, etc.
Constructors
| Tool | |
Fields
| |
ghc, ghc-pkg, ghci, etc.
Constructors
| TN_ghc | |
| TN_ghc_pkg | |
| TN_ghci | |
| TN_haddock | |
| TN_h2ps | |
| TN_hpc | |
| TN_hsc2hs | |
| TN_runghc | |
| TN_runhaskell |
Instances
| Bounded ToolName Source # | |
| Enum ToolName Source # | |
Defined in HS.Types.CompilerTool | |
| Eq ToolName Source # | |
| Ord ToolName Source # | |
Defined in HS.Types.CompilerTool | |
| Show ToolName Source # | |
| EnumText ToolName Source # | |
Defined in HS.Types.CompilerTool Methods 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
Constructors
| ToolArgs | |
Fields
| |
installation manager stack or ghcup or ...
Constructors
| Manager | |
Fields
| |