IntrinsicsNativeList
scalus.compiler.intrinsics.IntrinsicsNativeList
object IntrinsicsNativeList
Native list intrinsics — thin delegation to NativeListOperations.
The IntrinsicResolver dispatches to these when the list has native element representation (SumBuiltinList with !isPackedData element repr). Each method delegates to NativeListOperations which has the actual implementations.
Type parameters carry @UplcRepr(TypeVar(Transparent)) so element bytes flow through without Data wrapping (matching the historical stampTransparent post-load semantics this annotation replaces). find is unannotated — see NativeListOperations.find for the rationale.
Simple methods (isEmpty, head, tail) are implemented inline since they're single builtins.
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
IntrinsicsNativeList.type
Members list
In this article