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