Skip to content

Commit

Permalink
Writes a small introduction
Browse files Browse the repository at this point in the history
  • Loading branch information
JJ committed May 29, 2018
1 parent 480299a commit a8c5b08
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion doc/Language/iterating.pod6
Expand Up @@ -6,7 +6,9 @@
=head1 The C<Iterator> and C<Iterable> roles
TBD
Perl 6 is a functional language, but functions need something to hold on to when working on complex data structures. In particular, they need an uniform interface that can be applied to all of them. This interface is provided by the L<Iterator> and L<Iterable> roles.
The C<Iterable> role is quite simple. It provides the stub for a C<iterator> method, which is the one actually used in most ocassions.
=head1 How to iterate: contextualizing and topic variables
Expand Down

0 comments on commit a8c5b08

Please sign in to comment.