ouroboros-consensus
Safe HaskellNone
LanguageHaskell2010

Ouroboros.Consensus.Util.Orphans

Orphan instances

FromCBOR Nonce Source # 
Instance details

ToCBOR Nonce Source # 
Instance details

Methods

toCBOR ∷ Nonce → Encoding Source #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy Nonce → Size Source #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Nonce] → Size Source #

NoThunks CRC Source # 
Instance details

NoThunks StdGen Source # 
Instance details

ShowProxy Void Source # 
Instance details

Methods

showProxy ∷ Proxy Void → String #

ShowProxy () Source # 
Instance details

Methods

showProxy ∷ Proxy () → String #

NoThunks (NoGenesis era) Source # 
Instance details

NoThunks (SomeHasFS m) Source # 
Instance details

NoThunks (Handle h) Source # 
Instance details

NoThunks a ⇒ NoThunks (MultiSet a) Source # 
Instance details

NoThunks v ⇒ NoThunks (NESet v) Source # 
Instance details

Serialise (VerKeyDSIGN MockDSIGN) Source # 
Instance details

NoThunks (Decoder s a) Source # 
Instance details

NoThunks (Tracer m ev) Source # 
Instance details

NoThunks a ⇒ NoThunks (Array i a) Source # 
Instance details

(NoThunks k, NoThunks v) ⇒ NoThunks (NEMap k v) Source # 
Instance details

(NoThunks p, NoThunks v, Ord p) ⇒ NoThunks (IntPSQ p v) Source # 
Instance details

(HashAlgorithm h, Typeable a) ⇒ Serialise (Hash h a) Source # 
Instance details

Methods

encode ∷ Hash h a → Encoding Source #

decode ∷ Decoder s (Hash h a) Source #

encodeList ∷ [Hash h a] → Encoding Source #

decodeList ∷ Decoder s [Hash h a] Source #

NoThunks a ⇒ NoThunks (K a b) Source # 
Instance details

Methods

noThunks ∷ Context → K a b → IO (Maybe ThunkInfo) Source #

wNoThunks ∷ Context → K a b → IO (Maybe ThunkInfo) Source #

showTypeOf ∷ Proxy (K a b) → String Source #