perl6/doc/lib/Iterable
doc src
(title) class Iterable
class Iterable is Cool { }
Iterable serves as a superclass for objects that can be iterated with the
for construct and related iteration constructs.
Iterable objects nested in other Iterable objects (but not within scalar
containers) flatten in certain contexts, for example when iterated with a
for loop, or on list assignment.