if x.in? my_set # very ugly
I guess we disagree there. This is arguably more readable than most languages with `in?` being still just a method. if x.in? my_set # very ugly
I guess we disagree there. This is arguably more readable than most languages with `in?` being still just a method.Perhaps another way of doing this is calling the method .within?