| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Cometa.Encoding.Set
Description
CBOR representation of ledger set collections. This choice controls the optional tag only; ordering and duplicate handling belong to each collection.
Synopsis
- data SetEncoding
Documentation
data SetEncoding Source #
Whether a set array carries CBOR tag 258. Choose the representation required by the target protocol; accepting both when decoding does not imply both are valid on every network or protocol version.
Constructors
| TaggedSet | Prefix the array with CBOR tag 258. |
| UntaggedSet | Encode the array without a set tag. |