cardano-binary-1.7.2.0: Binary serialization for Cardano
Safe HaskellSafe-Inferred
LanguageHaskell2010

Test.Cardano.Binary.TreeDiff

Synopsis

Documentation

showExprToExpr a ⇒ a → String Source #

newtype HexBytes Source #

Wraps regular ByteString, but shows and diffs it as hex

Constructors

HexBytes 

Instances

Instances details
Show HexBytes Source # 
Instance details

Defined in Test.Cardano.Binary.TreeDiff

Methods

showsPrecIntHexBytesShowS #

showHexBytesString #

showList ∷ [HexBytes] → ShowS #

Eq HexBytes Source # 
Instance details

Defined in Test.Cardano.Binary.TreeDiff

Methods

(==)HexBytesHexBytesBool #

(/=)HexBytesHexBytesBool #

ToExpr HexBytes Source # 
Instance details

Defined in Test.Cardano.Binary.TreeDiff

newtype CBORBytes Source #

Constructors

CBORBytes 

Instances

Instances details
Show CBORBytes Source # 
Instance details

Defined in Test.Cardano.Binary.TreeDiff

Methods

showsPrecIntCBORBytesShowS #

showCBORBytesString #

showList ∷ [CBORBytes] → ShowS #

Eq CBORBytes Source # 
Instance details

Defined in Test.Cardano.Binary.TreeDiff

Methods

(==)CBORBytesCBORBytesBool #

(/=)CBORBytesCBORBytesBool #

ToExpr CBORBytes Source # 
Instance details

Defined in Test.Cardano.Binary.TreeDiff

showHexBytesGroupedByteString → [String] Source #

Show a ByteString as hex groups of 8bytes each. This is a slightly more useful form for debugging, rather than bunch of escaped characters.

Orphan instances

ToExpr Term Source # 
Instance details

Methods

toExprTermExpr Source #

listToExpr ∷ [Term] → Expr Source #