liqwid-plutarch-extra-3.21.1: A collection of Plutarch extras from Liqwid Labs
Safe HaskellSafe-Inferred
LanguageHaskell2010

Plutarch.Extra.Tuple

Synopsis

Documentation

pfstTuple :: forall (a :: S -> Type) (b :: S -> Type) (s :: S). PIsData a => Term s (PTuple a b :--> a) Source #

Extract the first component of a PTuple.

Since: 3.0.3

psndTuple :: forall (b :: S -> Type) (a :: S -> Type) (s :: S). PIsData b => Term s (PTuple a b :--> b) Source #

Extract the second component of a PTuple.

Since: 3.0.3