Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Datatypes for parsing hie.yaml
files
Documentation
data CradleConfigYAML a Source #
Instances
FromJSON a => FromJSON (CradleConfigYAML a) Source # | |
Defined in HIE.Bios.Config.YAML parseJSON :: Value -> Parser (CradleConfigYAML a) # parseJSONList :: Value -> Parser [CradleConfigYAML a] # | |
Generic (CradleConfigYAML a) Source # | |
Defined in HIE.Bios.Config.YAML type Rep (CradleConfigYAML a) :: Type -> Type # from :: CradleConfigYAML a -> Rep (CradleConfigYAML a) x # to :: Rep (CradleConfigYAML a) x -> CradleConfigYAML a # | |
type Rep (CradleConfigYAML a) Source # | |
Defined in HIE.Bios.Config.YAML type Rep (CradleConfigYAML a) = D1 ('MetaData "CradleConfigYAML" "HIE.Bios.Config.YAML" "hie-bios-0.13.1-33Jlk4mUamh2l0UJPL8H5m" '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 #
Multi [MultiSubComponent a] | |
Cabal CabalConfig | |
Stack StackConfig | |
Direct DirectConfig | |
Bios BiosConfig | |
None NoneConfig | |
Other (OtherConfig a) |
Instances
data MultiSubComponent a Source #
Instances
FromJSON a => FromJSON (MultiSubComponent a) Source # | |
Defined in HIE.Bios.Config.YAML parseJSON :: Value -> Parser (MultiSubComponent a) # parseJSONList :: Value -> Parser [MultiSubComponent a] # | |
Generic (MultiSubComponent a) Source # | |
Defined in HIE.Bios.Config.YAML type Rep (MultiSubComponent a) :: Type -> Type # from :: MultiSubComponent a -> Rep (MultiSubComponent a) x # to :: Rep (MultiSubComponent a) x -> MultiSubComponent a # | |
type Rep (MultiSubComponent a) Source # | |
Defined in HIE.Bios.Config.YAML type Rep (MultiSubComponent a) = D1 ('MetaData "MultiSubComponent" "HIE.Bios.Config.YAML" "hie-bios-0.13.1-33Jlk4mUamh2l0UJPL8H5m" '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
FromJSON CabalConfig Source # | |
Defined in HIE.Bios.Config.YAML parseJSON :: Value -> Parser CabalConfig # parseJSONList :: Value -> Parser [CabalConfig] # |
data CabalComponent Source #
Instances
FromJSON CabalComponent Source # | |
Defined in HIE.Bios.Config.YAML parseJSON :: Value -> Parser CabalComponent # parseJSONList :: Value -> Parser [CabalComponent] # |
data StackConfig Source #
Instances
FromJSON StackConfig Source # | |
Defined in HIE.Bios.Config.YAML parseJSON :: Value -> Parser StackConfig # parseJSONList :: Value -> Parser [StackConfig] # |
data StackComponent Source #
Instances
FromJSON StackComponent Source # | |
Defined in HIE.Bios.Config.YAML parseJSON :: Value -> Parser StackComponent # parseJSONList :: Value -> Parser [StackComponent] # |
data DirectConfig Source #
Instances
FromJSON DirectConfig Source # | |
Defined in HIE.Bios.Config.YAML parseJSON :: Value -> Parser DirectConfig # parseJSONList :: Value -> Parser [DirectConfig] # | |
Generic DirectConfig Source # | |
Defined in HIE.Bios.Config.YAML type Rep DirectConfig :: Type -> Type # from :: DirectConfig -> Rep DirectConfig x # to :: Rep DirectConfig x -> DirectConfig # | |
type Rep DirectConfig Source # | |
Defined in HIE.Bios.Config.YAML type Rep DirectConfig = D1 ('MetaData "DirectConfig" "HIE.Bios.Config.YAML" "hie-bios-0.13.1-33Jlk4mUamh2l0UJPL8H5m" 'False) (C1 ('MetaCons "DirectConfig" 'PrefixI 'True) (S1 ('MetaSel ('Just "arguments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [String]))) |
data BiosConfig Source #
Instances
FromJSON BiosConfig Source # | |
Defined in HIE.Bios.Config.YAML parseJSON :: Value -> Parser BiosConfig # parseJSONList :: Value -> Parser [BiosConfig] # |
data NoneConfig Source #
Instances
FromJSON NoneConfig Source # | |
Defined in HIE.Bios.Config.YAML parseJSON :: Value -> Parser NoneConfig # parseJSONList :: Value -> Parser [NoneConfig] # |
data OtherConfig a Source #
OtherConfig | |
|
Instances
FromJSON a => FromJSON (OtherConfig a) Source # | |
Defined in HIE.Bios.Config.YAML parseJSON :: Value -> Parser (OtherConfig a) # parseJSONList :: Value -> Parser [OtherConfig a] # |
data OneOrManyComponents component Source #
SingleComponent String | |
ManyComponents [component] | |
NoComponent |
Instances
FromJSON component => FromJSON (OneOrManyComponents component) Source # | |
Defined in HIE.Bios.Config.YAML parseJSON :: Value -> Parser (OneOrManyComponents component) # parseJSONList :: Value -> Parser [OneOrManyComponents component] # |