Top-level Huddle type is a list of rules.
Instances6IsList, Generic, Semigroup, Default, Rep, Item
IsList HuddleDefined in cuddle-1.8.1.0 · Codec.CBOR.Cuddle.HuddleThis instance is mostly used for testing
Generic HuddleDefined in cuddle-1.8.1.0 · Codec.CBOR.Cuddle.HuddleSemigroup HuddleDefined in cuddle-1.8.1.0 · Codec.CBOR.Cuddle.HuddleThis semigroup instance: - Takes takes the roots from the RHS unless they are empty, in which case it takes the roots from the LHS - Uses the RHS to override items on the LHS where they share a name. The value from the RHS is taken, but the index from the LHS is used.
Note that this allows replacing items in the middle of a tree without updating higher-level items which make use of them - that is, we do not need to "close over" higher-level terms, since by the time they have been built into a huddle structure, the references have been converted to keys.
Default HuddleDefined in cuddle-1.8.1.0 · Codec.CBOR.Cuddle.Huddletype Rep Huddle = D1 ('MetaDataDefined in cuddle-1.8.1.0 · Codec.CBOR.Cuddle.Huddle"Huddle"
"Codec.CBOR.Cuddle.Huddle"
"cuddle-1.8.1.0-1n67ahaIhMs3FQkr3b5WBN"
'False) (C1 ('MetaCons"Huddle"
'PrefixI 'True) (S1 ('MetaSel ('Just"roots"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Rule]) :*: S1 ('MetaSel ('Just"items"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (OMap Name HuddleItem))))type Item Huddle = RuleDefined in cuddle-1.8.1.0 · Codec.CBOR.Cuddle.Huddle