BuiltinPair
scalus.uplc.builtin.BuiltinPair
A builtin pair type corresponding to the Plutus Core builtin pair.
Pairs are polymorphic 2-tuples used throughout Plutus for composite data.
==UPLC Builtin Operations==
The following UPLC builtins operate on pairs:
fstPair- Extract the first element (corresponds tofst)sndPair- Extract the second element (corresponds tosnd)mkPairData- Create a pair of Data values
Type parameters
- A
-
type of the first element
- B
-
type of the second element
Value parameters
- fst
-
the first element
- snd
-
the second element
Attributes
- Since
-
Plutus V1
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article