Branch: refs/heads/master
Home: http://github.com/perl6/specs
Commit: 32511f7db34905c740ed1030a70995239f7cfb66
http://github.com/perl6/specs/commit/32511f7db34905c740ed1030a70995239f7cfb66
Author: TimToady <[email protected]>
Date: 2010-10-25 (Mon, 25 Oct 2010)
Changed paths:
M S02-bits.pod
Log Message:
-----------
[S02] be more explicit about iterating sets/bags
The intent has always been that when you use a set or bag as a list,
it behaves as a list of its keys, regardless of any underlying hash
interface it might also respond to. You must use .pairs explicitly
to get the hash pairs out of a set or bag as a list.