| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
Plutarch.Pair
Documentation
data PPair (a :: S -> Type) (b :: S -> Type) (s :: S) Source #
Plutus encoding of Pairs.
Note: This is represented differently than BuiltinPair. It is SoP encoded.
Instances
| (PEq a, PEq b) => PEq (PPair a b) Source # | Since: 1.10.0 | ||||
| PlutusType (PPair a b) Source # | |||||
Defined in Plutarch.Pair Associated Types
| |||||
| (PMonoid a, PMonoid b) => PMonoid (PPair a b) Source # | Since: 1.10.0 | ||||
| (PSemigroup a, PSemigroup b) => PSemigroup (PPair a b) Source # | Since: 1.10.0 | ||||
| (PShow a, PShow b) => PShow (PPair a b) Source # | Since: 1.10.0 | ||||
| Generic (PPair a b s) Source # | |||||
Defined in Plutarch.Pair Associated Types
| |||||
| Generic (PPair a b s) Source # | |||||
| type PInner (PPair a b) Source # | Since: 1.10.0 | ||||
Defined in Plutarch.Pair | |||||
| type Rep (PPair a b s) Source # | Since: 1.10.0 | ||||
Defined in Plutarch.Pair type Rep (PPair a b s) = D1 ('MetaData "PPair" "Plutarch.Pair" "plutarch-1.14.0-6fw3gqGsL7f3TFINWPu1lG" 'False) (C1 ('MetaCons "PPair" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term s a)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term s b)))) | |||||
| type Code (PPair a b s) Source # | Since: 1.10.0 | ||||
Defined in Plutarch.Pair | |||||