If I understand correctly, it&#x27;s a nice literal syntax for a vector&#x2F;set hybrid data structure?<p>If you wanted, you could get pretty close in ruby with only a sprinkle of ill-advised metaprogramming.<p><pre><code>    &gt; junc{5|4} + 1
    any(6, 5)
    &gt; junc{5&amp;4} + 1
    all(6, 5)
    &gt; x = junc{5|4|3|2}
    any(5, 4, 3, 2)
    &gt; puts &quot;yep!&quot; if x + 2 =~ 7
    yep!
    &gt; junc{(2|3|4|5|6|7) &amp; (3|4)} + 1 =~ 5
    True
    &gt; junc{(2|3|4|5|6|7) &amp; (3|4)} + 1 =~ 6
    False
</code></pre>
would be possible.<p>I guess I&#x27;m just curious if this is a situation that comes up often enough to need a built in literal syntax.