title: In Scala, is there a neat and simple way to compare one value with multiple values
body: <p>Say I have a variable x, and I want to check if it's equal to  any one of multiple values a, b, c, d, e (I mean the == equality, not identity).</p>
  
  <p>In an SQL query the same concept is handled with</p>
  
  <pre><code>WHERE x IN (a, b, c, d, e).
  </code></pre>
  
  <p>Is there something equivalent in Scala that's as straightforward as that?  I know it's otherwise possible to do it in one line with a complex expression such as building a HashSet and checking for existence in the set, but I'd prefer to use a simple construct if it's available.</p>