4 ms·
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
by ab5tract 10y ago
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.