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.

Perl 6 Tricks and Treats newsletter

Register to the free newsletter now, and get updates and news.
Email:
Name: