IntrinsicsUplcConstrList
UplcConstr list intrinsics — thin delegation to UplcConstrListOperations.
The IntrinsicResolver dispatches to these when the list has SumUplcConstr representation. Type parameters are annotated @UplcRepr(TypeVar(Unwrapped)): the inliner substitutes the caller's concrete representation at the inlining site. Every List[_] / Option[_] in the signatures is annotated @UplcRepr(UplcConstr) — under the per-signature annotation regime (no uplcGeneratorPolicy swap), this is how the dispatcher's inline self match { ... } match lands on the UplcConstr code path and how its result stays in UplcConstr form. Simple methods (isEmpty, head, tail) are implemented inline since they're single pattern matches. Complex recursive methods delegate to UplcConstrListOperations (support module whose type params are Unwrapped).
For contains: Eq has known semantics (structural equality), so we use equalsData directly instead of calling the Eq function. Elements are converted to Data via toDefaultTypeVarRepr, then compared with a single equalsData builtin call.
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type