Hacker News new | ask | show | jobs
by bhaak 3780 days ago
I don't know what's so ugly about this.

I wouldn't call the method "in?" but maybe "element_of?" or "member_of?" but besides that, I don't see the need for an operator.