Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge branch 'master' of github.com:perl6/specs
  • Loading branch information
grondilu committed Sep 10, 2014
2 parents 063e711 + 24fb00c commit 5757b4c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions S02-bits.pod
Expand Up @@ -1638,8 +1638,9 @@ simultaneously, but an iterator/list itself has only one thread of
consumption. Every time you do C<get> on an iterator, a value
disappears from its list.

Note that C<Set>, C<Bag>, and C<Mix> iterators return only keys, not values. You
must explicitly use c<.pairs> to get key/value pairs.
Note that C<Set> iterators return only the keys, not the boolean values. You
must explicitly use C<.pairs> to get key/value pairs. The C<Bag> and C<Mix>
types, on the other hand, default to returning pairs, as a C<Hash> does.

=head2 Mutable types

Expand Down

0 comments on commit 5757b4c

Please sign in to comment.