Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[perl6/specs] 038048: more set/bag list clarifications

1 view
Skip to first unread message

GitHub

unread,
May 14, 2013, 2:39:26 PM5/14/13
to perl6-l...@perl.org
Branch: refs/heads/master
Home: https://github.com/perl6/specs
Commit: 038048739fe1e4f0102133e04e90beedd41376e2
https://github.com/perl6/specs/commit/038048739fe1e4f0102133e04e90beedd41376e2
Author: Larry Wall <la...@wall.org>
Date: 2013-05-14 (Tue, 14 May 2013)

Changed paths:
M S32-setting-library/Containers.pod

Log Message:
-----------
more set/bag list clarifications

We're not trying to override explicit @ or .keys here, merely the
implicit policy for a default of item in list context.

Also, set/bag constructors are simply slurpies, and shouldn't care at all
what was passed as the objects in those slurpies. Generally one should
be using "union" to combine sets or bags anyway, not relying on implicit
constructor semantics to do that.



0 new messages