List

scalus.uplc.builtin.Data.List
case class List(values: List[Data]) extends Data

Ordered sequence - represents list types.

Used to encode List[A] types where elements are Data.

Corresponds to UPLC builtins listData and unListData.

Value parameters

values

the list elements

Attributes

Example
 // A list of integers [1, 2, 3]
 List(PList(I(1), I(2), I(3)))
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Data
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
override def toString: String

Debug string representation matching the Pretty instance format. It does not recurse, so the nesting depth is not limited by the stack.

Debug string representation matching the Pretty instance format. It does not recurse, so the nesting depth is not limited by the stack.

Attributes

Definition Classes
Data -> Any
Inherited from:
Data