In Slip§
See primary documentation in context for method List
multi method List(Slip: --> List)
Turns it into a list.
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 Any§
See primary documentation in context for method List
method List(--> List) is nodal
Coerces the invocant to List
, using the list method.
In IterationBuffer§
See primary documentation in context for method List
method List(IterationBuffer: --> List)
Coerces the IterationBuffer
to a List
.