Safe Haskell | None |
---|---|
Language | Haskell2010 |
Yaml
Contents
Documentation
Instances
data Comparable Source #
Instances
FromJSON Comparable Source # | |||||
Defined in Yaml | |||||
Generic Comparable Source # | |||||
Defined in Yaml Associated Types
| |||||
Show Comparable Source # | |||||
Defined in Yaml Methods showsPrec :: Int -> Comparable -> ShowS # show :: Comparable -> String # showList :: [Comparable] -> ShowS # | |||||
type Rep Comparable Source # | |||||
Defined in Yaml type Rep Comparable = D1 ('MetaData "Comparable" "Yaml" "phino-0.0.0.19-5vwcxGi3nbd7CGknzsU6Lx" 'False) (C1 ('MetaCons "CmpAttr" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Attribute)) :+: C1 ('MetaCons "CmpNum" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Number))) |
Constructors
And [Condition] | |
Or [Condition] | |
In Attribute Binding | |
Not Condition | |
Alpha Attribute | |
Eq Comparable Comparable | |
NF Expression | |
XI Expression | |
Match String Expression |
Instances
FromJSON Condition Source # | |||||
Generic Condition Source # | |||||
Defined in Yaml Associated Types
| |||||
Show Condition Source # | |||||
type Rep Condition Source # | |||||
Defined in Yaml type Rep Condition = D1 ('MetaData "Condition" "Yaml" "phino-0.0.0.19-5vwcxGi3nbd7CGknzsU6Lx" 'False) (((C1 ('MetaCons "And" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Condition])) :+: C1 ('MetaCons "Or" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Condition]))) :+: (C1 ('MetaCons "In" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Attribute) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Binding)) :+: C1 ('MetaCons "Not" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Condition)))) :+: ((C1 ('MetaCons "Alpha" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Attribute)) :+: C1 ('MetaCons "Eq" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Comparable) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Comparable))) :+: (C1 ('MetaCons "NF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expression)) :+: (C1 ('MetaCons "XI" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expression)) :+: C1 ('MetaCons "Match" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expression)))))) |
data ExtraArgument Source #
Constructors
ArgAttribute Attribute | |
ArgExpression Expression | |
ArgBinding Binding | |
ArgBytes Bytes |
Instances
FromJSON ExtraArgument Source # | |||||
Defined in Yaml Methods parseJSON :: Value -> Parser ExtraArgument # parseJSONList :: Value -> Parser [ExtraArgument] # | |||||
Generic ExtraArgument Source # | |||||
Defined in Yaml Associated Types
| |||||
Show ExtraArgument Source # | |||||
Defined in Yaml Methods showsPrec :: Int -> ExtraArgument -> ShowS # show :: ExtraArgument -> String # showList :: [ExtraArgument] -> ShowS # | |||||
Pretty ExtraArgument Source # | |||||
Defined in Pretty | |||||
type Rep ExtraArgument Source # | |||||
Defined in Yaml type Rep ExtraArgument = D1 ('MetaData "ExtraArgument" "Yaml" "phino-0.0.0.19-5vwcxGi3nbd7CGknzsU6Lx" 'False) ((C1 ('MetaCons "ArgAttribute" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Attribute)) :+: C1 ('MetaCons "ArgExpression" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expression))) :+: (C1 ('MetaCons "ArgBinding" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Binding)) :+: C1 ('MetaCons "ArgBytes" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bytes)))) |
Constructors
Extra | |
Fields
|
Instances
FromJSON Extra Source # | |||||
Generic Extra Source # | |||||
Defined in Yaml Associated Types
| |||||
Show Extra Source # | |||||
type Rep Extra Source # | |||||
Defined in Yaml type Rep Extra = D1 ('MetaData "Extra" "Yaml" "phino-0.0.0.19-5vwcxGi3nbd7CGknzsU6Lx" 'False) (C1 ('MetaCons "Extra" 'PrefixI 'True) (S1 ('MetaSel ('Just "meta") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ExtraArgument) :*: (S1 ('MetaSel ('Just "function") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: S1 ('MetaSel ('Just "args") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [ExtraArgument])))) |
Constructors
Rule | |
Instances
FromJSON Rule Source # | |||||
Generic Rule Source # | |||||
Defined in Yaml Associated Types
| |||||
Show Rule Source # | |||||
type Rep Rule Source # | |||||
Defined in Yaml type Rep Rule = D1 ('MetaData "Rule" "Yaml" "phino-0.0.0.19-5vwcxGi3nbd7CGknzsU6Lx" 'False) (C1 ('MetaCons "Rule" 'PrefixI 'True) ((S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe String)) :*: S1 ('MetaSel ('Just "pattern") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expression)) :*: (S1 ('MetaSel ('Just "result") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expression) :*: (S1 ('MetaSel ('Just "when") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Condition)) :*: S1 ('MetaSel ('Just "where_") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe [Extra])))))) |
normalizationRules :: [Rule] Source #