In Array§
See primary documentation in context for method List
multi method List(Array:)
Converts the array to a List
.
my = [1];[3]=3;say .List; # OUTPUT: «(1 Nil Nil 3)»
The holes will show up as Nil
.
In Slip§
See primary documentation in context for method List
multi method List(Slip: --> List)
Turns it into a list.
In IterationBuffer§
See primary documentation in context for method List
method List(IterationBuffer: --> List)
Coerces the IterationBuffer
to a List
.
In Any§
See primary documentation in context for method List
method List(--> List) is nodal