<div dir="ltr"><div style="font-family:monospace" class="gmail_default">Hello Brian,<br><br>Thanks for the response!<br><br>> Yes, many languages that have pattern matching allow<br>> constant literals to be used as patterns ("constant<br>> patterns"), so<br>> <br>>     case Point(0, _):<br>> <br>> would match any point on the X axis.<br><br>Nice, the unnamed pattern makes this even more expressive than I recalled. Very haskell-esque.<br><br>> The example Swaranga gave used constant patterns in this<br>> way, but that is orthogonal to the question being posed,<br>> which was about switching over multiple values at once. <br><br>Fair. Next time, I will start a separate thread and just reference the source thread.<br><br>> Constant patterns have been discussed in early pattern<br>> matching writeups; we have left them on the "maybe for<br>> later" list, for a few reasons (and I'm glad we did.)<br><br>If you recall the reasons, I'd love to hear them.<br><br>> They may come into the lineup at some point, but in the<br>> meantime, there are higher-leverage features ahead of it.<br><br>Same goes for this too. What's the amber team working on at the moment?<br><br>Thank you for your time!<br>David Alayachew</div><br></div>