NativeListReprRules

scalus.compiler.intrinsics.NativeListReprRules

Repr rules for native list intrinsics (IntrinsicsNativeList).

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete fields

find: List[A] → (A → Boolean) → Option[A]. For non-PackedData (native-element) sources, declare SumUplcConstr Option so callers stay in native flow; otherwise fall back to the type's default. The dispatcher converts at the boundary (one element max).

find: List[A] → (A → Boolean) → Option[A]. For non-PackedData (native-element) sources, declare SumUplcConstr Option so callers stay in native flow; otherwise fall back to the type's default. The dispatcher converts at the boundary (one element max).

Attributes

foldLeft: List[A] → B — output depends on return type

foldLeft: List[A] → B — output depends on return type

Attributes

foldRight: same as foldLeft

foldRight: same as foldLeft

Attributes

map/filter/etc: after self substitution, outTp is the remaining curried function. Use defaultRepresentation which handles Fun types correctly.

map/filter/etc: after self substitution, outTp is the remaining curried function. Use defaultRepresentation which handles Fun types correctly.

Attributes

val rules: Map[String, ReprRule]