hs-0.1.0.2: GHC-toolchain installer broker
Safe HaskellNone
LanguageHaskell2010

HS.CLI.CLI

Synopsis

Documentation

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

Instances details
Bounded InstallMode Source # 
Instance details

Defined in HS.Types.InstallMode

Enum InstallMode Source # 
Instance details

Defined in HS.Types.InstallMode

Eq InstallMode Source # 
Instance details

Defined in HS.Types.InstallMode

Ord InstallMode Source # 
Instance details

Defined in HS.Types.InstallMode

Show InstallMode Source # 
Instance details

Defined in HS.Types.InstallMode

Default InstallMode Source # 
Instance details

Defined in HS.Types.InstallMode

Methods

def :: InstallMode #

EnumText InstallMode Source # 
Instance details

Defined in HS.Types.InstallMode

TextParsable InstallMode Source # 
Instance details

Defined in HS.Types.InstallMode

Buildable InstallMode Source # 
Instance details

Defined in HS.Types.InstallMode

Methods

build :: InstallMode -> Builder #

newtype Compiler Source #

ghc or ghc-8.10.4, etc.

Constructors

Compiler 

Instances

Instances details
Eq Compiler Source # 
Instance details

Defined in HS.Types.CompilerTool

Ord Compiler Source # 
Instance details

Defined in HS.Types.CompilerTool

Show Compiler Source # 
Instance details

Defined in HS.Types.CompilerTool

TextParsable Compiler Source # 
Instance details

Defined in HS.Types.CompilerTool

Buildable Compiler Source # 
Instance details

Defined in HS.Types.CompilerTool

Methods

build :: Compiler -> Builder #

newtype Tool Source #

ghci or ghc-pkg-9.0.1, etc.

Constructors

Tool 

Instances

Instances details
Eq Tool Source # 
Instance details

Defined in HS.Types.CompilerTool

Methods

(==) :: Tool -> Tool -> Bool #

(/=) :: Tool -> Tool -> Bool #

Ord Tool Source # 
Instance details

Defined in HS.Types.CompilerTool

Methods

compare :: Tool -> Tool -> Ordering #

(<) :: Tool -> Tool -> Bool #

(<=) :: Tool -> Tool -> Bool #

(>) :: Tool -> Tool -> Bool #

(>=) :: Tool -> Tool -> Bool #

max :: Tool -> Tool -> Tool #

min :: Tool -> Tool -> Tool #

Show Tool Source # 
Instance details

Defined in HS.Types.CompilerTool

Methods

showsPrec :: Int -> Tool -> ShowS #

show :: Tool -> String #

showList :: [Tool] -> ShowS #

TextParsable Tool Source # 
Instance details

Defined in HS.Types.CompilerTool

Buildable Tool Source # 
Instance details

Defined in HS.Types.CompilerTool

Methods

build :: Tool -> Builder #

data ToolName Source #

ghc, ghc-pkg, ghci, etc.

Instances

Instances details
Bounded ToolName Source # 
Instance details

Defined in HS.Types.CompilerTool

Enum ToolName Source # 
Instance details

Defined in HS.Types.CompilerTool

Eq ToolName Source # 
Instance details

Defined in HS.Types.CompilerTool

Ord ToolName Source # 
Instance details

Defined in HS.Types.CompilerTool

Show ToolName Source # 
Instance details

Defined in HS.Types.CompilerTool

EnumText ToolName Source # 
Instance details

Defined in HS.Types.CompilerTool

TextParsable ToolName Source # 
Instance details

Defined in HS.Types.CompilerTool

Buildable ToolName Source # 
Instance details

Defined in HS.Types.CompilerTool

Methods

build :: ToolName -> Builder #

newtype ToolArgs Source #

list of command line arguments to be passed through to the compiler tool

Constructors

ToolArgs 

Fields

Instances

Instances details
Show ToolArgs Source # 
Instance details

Defined in HS.CLI.ToolArgs

Buildable ToolArgs Source # 
Instance details

Defined in HS.CLI.ToolArgs

Methods

build :: ToolArgs -> Builder #

newtype Manager Source #

installation manager stack or ghcup or ...

Constructors

Manager 

Fields

Instances

Instances details
Eq Manager Source # 
Instance details

Defined in HS.Types.Manager

Methods

(==) :: Manager -> Manager -> Bool #

(/=) :: Manager -> Manager -> Bool #

Ord Manager Source # 
Instance details

Defined in HS.Types.Manager

Show Manager Source # 
Instance details

Defined in HS.Types.Manager

IsString Manager Source # 
Instance details

Defined in HS.Types.Manager

Methods

fromString :: String -> Manager #

TextParsable Manager Source # 
Instance details

Defined in HS.Types.Manager

Buildable Manager Source # 
Instance details

Defined in HS.Types.Manager

Methods

build :: Manager -> Builder #