Modulecardano-ledger-binary-1.9.1.0
Cardano.Ledger.Binary.Coders
Synopsis
- value <!
- value <*!
- value <?
- value decode
- value decodeDual
- value decodeSparse
- value duplicateKey
- value field
- value fieldA
- value fieldAA
- value fieldAGuarded
- value fieldGuarded
- value guardUntilAtLeast
- value invalidField
- value listDecodeA
- value mapCoder
- value mapDecodeA
- value ofield
- value ofieldA
- value setDecodeA
- value unusedRequiredKeys
- value decodeRecordNamed
- value decodeRecordNamedT
- value decodeRecordSum
- value !>
- value encode
- value encodeDual
- value encodeKeyedStrictMaybe
- value encodeKeyedStrictMaybeWith
- value runE
- value invalidKey
- constructor Closed
- data Decode
- constructor Dense
- data Density
- data Field
- constructor Open
- constructor Sparse
- data Wrapped
- data Encode
- Packagecardano-ledger-binary-1.9.1.0
- Exports40
- LicenceApache-2.0
Constructors
RecD :: t -> Decode (Closed Dense) tSumD :: t -> Decode Open tSummands :: Text -> (Word -> Decode Open t) -> Decode (Closed Dense) tSparseKeyed :: Typeable t => String -> t -> (Word -> Field t) -> [(Word, String)] -> Decode (Closed Dense) tKeyedD :: t -> Decode (Closed Sparse) tFrom :: DecCBOR t => Decode w tFromGroup :: (EncCBORGroup t, DecCBORGroup t) => Decode w tD :: (forall s. Decoder s t) -> Decode (Closed Dense) tApplyD :: Typeable a => Decode w (a -> t) -> Decode (Closed d) a -> Decode w tInvalid :: Word -> Decode w tMap :: Typeable a => (a -> t) -> Decode w a -> Decode w tTagD :: Word -> Decode (Closed x) t -> Decode (Closed x) tEmit :: t -> Decode w tAnn :: Typeable t1 => Decode w t1 -> Decode w (Annotator t1)ApplyAnn :: (Typeable a, Typeable t1) => Decode w (Annotator (a -> t1)) -> Decode (Closed d) (Annotator a) -> Decode w (Annotator t1)ApplyErr :: Typeable a => Decode w (a -> Either String t) -> Decode (Closed d) a -> Decode w t
Constructors
Rec :: t -> Encode (Closed Dense) tSum :: t -> Word -> Encode Open tKeyed :: t -> Encode (Closed Sparse) tTo :: EncCBOR t => t -> Encode (Closed Dense) tToGroup :: EncCBORGroup t => t -> Encode (Closed Dense) tE :: (t -> Encoding) -> t -> Encode (Closed Dense) tMapE :: (a -> t) -> Encode w a -> Encode w tOmitC :: t -> Encode w tTag :: Word -> Encode (Closed x) t -> Encode (Closed x) tOmit :: (t -> Bool) -> Encode (Closed Sparse) t -> Encode (Closed Sparse) tKey :: Word -> Encode (Closed Dense) t -> Encode (Closed Sparse) tApplyE :: Encode w (a -> t) -> Encode (Closed r) a -> Encode w t