method List
Documentation for method List
assembled from the following types:
class Any
From Any
(Any) method List
Defined as:
method List(--> List) is nodal
Coerces the invocant to List, using the list method.
class Slip
From Slip
(Slip) method List
Defined as:
multi method List(Slip: --> List)
Turns it into a list.
class Array
From Array
(Array) method List
Defined as:
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
.