hie-bios-0.11.0: Set up a GHC API session
Safe HaskellNone
LanguageHaskell2010

HIE.Bios.Config.YAML

Description

Datatypes for parsing hie.yaml files

Documentation

data CradleConfigYAML a Source #

Instances

Instances details
Generic (CradleConfigYAML a) Source # 
Instance details

Defined in HIE.Bios.Config.YAML

Associated Types

type Rep (CradleConfigYAML a) :: Type -> Type #

FromJSON a => FromJSON (CradleConfigYAML a) Source # 
Instance details

Defined in HIE.Bios.Config.YAML

Methods

parseJSON :: Value -> Parser (CradleConfigYAML a)

parseJSONList :: Value -> Parser [CradleConfigYAML a]

type Rep (CradleConfigYAML a) Source # 
Instance details

Defined in HIE.Bios.Config.YAML

type Rep (CradleConfigYAML a) = D1 ('MetaData "CradleConfigYAML" "HIE.Bios.Config.YAML" "hie-bios-0.11.0-inplace" 'False) (C1 ('MetaCons "CradleConfigYAML" 'PrefixI 'True) (S1 ('MetaSel ('Just "cradle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (CradleComponent a)) :*: S1 ('MetaSel ('Just "dependencies") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe [FilePath]))))

data CradleComponent a Source #

Instances

Instances details
Generic (CradleComponent a) Source # 
Instance details

Defined in HIE.Bios.Config.YAML

Associated Types

type Rep (CradleComponent a) :: Type -> Type #

FromJSON a => FromJSON (CradleComponent a) Source # 
Instance details

Defined in HIE.Bios.Config.YAML

Methods

parseJSON :: Value -> Parser (CradleComponent a)

parseJSONList :: Value -> Parser [CradleComponent a]

type Rep (CradleComponent a) Source # 
Instance details

Defined in HIE.Bios.Config.YAML

data MultiSubComponent a Source #

Constructors

MultiSubComponent 

Instances

Instances details
Generic (MultiSubComponent a) Source # 
Instance details

Defined in HIE.Bios.Config.YAML

Associated Types

type Rep (MultiSubComponent a) :: Type -> Type #

FromJSON a => FromJSON (MultiSubComponent a) Source # 
Instance details

Defined in HIE.Bios.Config.YAML

Methods

parseJSON :: Value -> Parser (MultiSubComponent a)

parseJSONList :: Value -> Parser [MultiSubComponent a]

type Rep (MultiSubComponent a) Source # 
Instance details

Defined in HIE.Bios.Config.YAML

type Rep (MultiSubComponent a) = D1 ('MetaData "MultiSubComponent" "HIE.Bios.Config.YAML" "hie-bios-0.11.0-inplace" 'False) (C1 ('MetaCons "MultiSubComponent" 'PrefixI 'True) (S1 ('MetaSel ('Just "path") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FilePath) :*: S1 ('MetaSel ('Just "config") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (CradleConfigYAML a))))

data CabalConfig Source #

Instances

Instances details
FromJSON CabalConfig Source # 
Instance details

Defined in HIE.Bios.Config.YAML

Methods

parseJSON :: Value -> Parser CabalConfig

parseJSONList :: Value -> Parser [CabalConfig]

data CabalComponent Source #

Instances

Instances details
FromJSON CabalComponent Source # 
Instance details

Defined in HIE.Bios.Config.YAML

Methods

parseJSON :: Value -> Parser CabalComponent

parseJSONList :: Value -> Parser [CabalComponent]

data StackConfig Source #

Instances

Instances details
FromJSON StackConfig Source # 
Instance details

Defined in HIE.Bios.Config.YAML

Methods

parseJSON :: Value -> Parser StackConfig

parseJSONList :: Value -> Parser [StackConfig]

data StackComponent Source #

Instances

Instances details
FromJSON StackComponent Source # 
Instance details

Defined in HIE.Bios.Config.YAML

Methods

parseJSON :: Value -> Parser StackComponent

parseJSONList :: Value -> Parser [StackComponent]

data DirectConfig Source #

Constructors

DirectConfig 

Fields

Instances

Instances details
Generic DirectConfig Source # 
Instance details

Defined in HIE.Bios.Config.YAML

Associated Types

type Rep DirectConfig :: Type -> Type #

FromJSON DirectConfig Source # 
Instance details

Defined in HIE.Bios.Config.YAML

Methods

parseJSON :: Value -> Parser DirectConfig

parseJSONList :: Value -> Parser [DirectConfig]

type Rep DirectConfig Source # 
Instance details

Defined in HIE.Bios.Config.YAML

type Rep DirectConfig = D1 ('MetaData "DirectConfig" "HIE.Bios.Config.YAML" "hie-bios-0.11.0-inplace" 'False) (C1 ('MetaCons "DirectConfig" 'PrefixI 'True) (S1 ('MetaSel ('Just "arguments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [String])))

data BiosConfig Source #

Instances

Instances details
FromJSON BiosConfig Source # 
Instance details

Defined in HIE.Bios.Config.YAML

Methods

parseJSON :: Value -> Parser BiosConfig

parseJSONList :: Value -> Parser [BiosConfig]

data NoneConfig Source #

Constructors

NoneConfig 

Instances

Instances details
FromJSON NoneConfig Source # 
Instance details

Defined in HIE.Bios.Config.YAML

Methods

parseJSON :: Value -> Parser NoneConfig

parseJSONList :: Value -> Parser [NoneConfig]

data OtherConfig a Source #

Constructors

OtherConfig 

Fields

Instances

Instances details
FromJSON a => FromJSON (OtherConfig a) Source # 
Instance details

Defined in HIE.Bios.Config.YAML

Methods

parseJSON :: Value -> Parser (OtherConfig a)

parseJSONList :: Value -> Parser [OtherConfig a]

data OneOrManyComponents component Source #

Constructors

SingleComponent String 
ManyComponents [component] 
NoComponent 

Instances

Instances details
FromJSON component => FromJSON (OneOrManyComponents component) Source # 
Instance details

Defined in HIE.Bios.Config.YAML

Methods

parseJSON :: Value -> Parser (OneOrManyComponents component)

parseJSONList :: Value -> Parser [OneOrManyComponents component]