News for hackers. Stuff that matters.
Re:Set in Your Ways: Perl 6’s Setty and Baggy Types by ab5tract on Wednesday December 07, 2016 @05:28PM (#13126859)
To clarify, it isn't being used as a set literal. It's a list passed to an operator that happily coerces your lists to sets.

Allomorphs are tricky things, but I think it was the right decision to treat them separately in collections.

`Set.new(42, 55, 1)` is the most formal way to create a new set, but Perl 6 provides `set(42, 55, 1)` as a shorthand.

There are no comments on this comment yet.