Closed L-as closed 2 years ago
Data <-> CBOR
serialization/deserialization is defined at PlutusCore/Data.hs
:
I'm wondering why it's not
a -> b -> Pair a b
.
There is a note about functions over built-in types mentioned at MkPairData
definition that goes into details.
I hope that helps.
Thanks!
https://github.com/input-output-hk/plutus/blob/master/plutus-metatheory/src/Algorithmic.lagda#L150
Perhaps I'm misunderstanding how
Data
maps to CBOR and backward.I'm wondering why it's not
a -> b -> Pair a b
.