stack-3.3.1: The Haskell Tool Stack
Safe HaskellNone
LanguageGHC2021

Stack.Types.Compiler

Synopsis

Documentation

data ActualCompiler 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.

Constructors

ACGhc !Version 
ACGhcGit !Text !Text 

Instances

Instances details
FromJSON ActualCompiler Source # 
Instance details

Defined in Stack.Types.Compiler

FromJSONKey ActualCompiler Source # 
Instance details

Defined in Stack.Types.Compiler

ToJSON ActualCompiler Source # 
Instance details

Defined in Stack.Types.Compiler

Data ActualCompiler Source # 
Instance details

Defined in Stack.Types.Compiler

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ActualCompiler -> c ActualCompiler #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ActualCompiler #

toConstr :: ActualCompiler -> Constr #

dataTypeOf :: ActualCompiler -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ActualCompiler) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ActualCompiler) #

gmapT :: (forall b. Data b => b -> b) -> ActualCompiler -> ActualCompiler #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ActualCompiler -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ActualCompiler -> r #

gmapQ :: (forall d. Data d => d -> u) -> ActualCompiler -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ActualCompiler -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ActualCompiler -> m ActualCompiler #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ActualCompiler -> m ActualCompiler #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ActualCompiler -> m ActualCompiler #

Generic ActualCompiler Source # 
Instance details

Defined in Stack.Types.Compiler

Associated Types

type Rep ActualCompiler 
Instance details

Defined in Stack.Types.Compiler

type Rep ActualCompiler = D1 ('MetaData "ActualCompiler" "Stack.Types.Compiler" "stack-3.3.1-2HKVTmRHCfa6EWJPm2VdAo" 'False) (C1 ('MetaCons "ACGhc" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Version)) :+: C1 ('MetaCons "ACGhcGit" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text)))
Show ActualCompiler Source # 
Instance details

Defined in Stack.Types.Compiler

Methods

showsPrec :: Int -> ActualCompiler -> ShowS #

show :: ActualCompiler -> String #

showList :: [ActualCompiler] -> ShowS #

NFData ActualCompiler Source # 
Instance details

Defined in Stack.Types.Compiler

Methods

rnf :: ActualCompiler -> () #

Eq ActualCompiler Source # 
Instance details

Defined in Stack.Types.Compiler

Ord ActualCompiler Source # 
Instance details

Defined in Stack.Types.Compiler

PersistField ActualCompiler Source # 
Instance details

Defined in Stack.Types.Compiler

PersistFieldSql ActualCompiler Source # 
Instance details

Defined in Stack.Types.Compiler

Display ActualCompiler Source # 
Instance details

Defined in Stack.Types.Compiler

type Rep ActualCompiler Source # 
Instance details

Defined in Stack.Types.Compiler

type Rep ActualCompiler = D1 ('MetaData "ActualCompiler" "Stack.Types.Compiler" "stack-3.3.1-2HKVTmRHCfa6EWJPm2VdAo" 'False) (C1 ('MetaCons "ACGhc" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Version)) :+: C1 ('MetaCons "ACGhcGit" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text)))

newtype CompilerRepository Source #

Repository containing the compiler sources

Constructors

CompilerRepository Text 

data CompilerException Source #

Type representing exceptions thrown by functions exported by the Stack.Types.Compiler module.