Hacker News new | ask | show | jobs
by onions 4576 days ago
To understand what is going on here, note that List(()).toSet() returns true.

The "apply" method in Set introduces tricky issues for little benefit. It should have just been left as "contains".