3 ms·
perl6 -e 'say 42 ∈ (42, 55, 1)' True That works fine -- and probably better than the quote-words operator <>. ∈ works on anything list-like, not just set
by labster 10y ago
perl6 -e 'say 42 ∈ (42, 55, 1)'
True
That works fine -- and probably better than the quote-words operator <>. ∈ works on anything list-like, not just set types.