Luke Palmer wrote:
A new development in perl 6 land that will make some folks very happy.
There is now a Set role. Among its operations are (including
parentheses):
(+) Union
(*) Intersection
(-) Difference
(<=) Subset
(<) Proper subset
(>=) Superset
(>) Proper superset
(in) Element
(=) Set equality
Do Sets get a sigil? I'd guess that % would be appropriate, because a
hash is simply "Set of Pair" where the membership equivalence class is
simply $^member.key. What syntax is used to associate the equiv-class
with a set?