<!DOCTYPE html><html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<br>
<blockquote type="cite" cite="mid:CAA9v-_NBnq7G2How_kh9Aya9wWvx9KpZw_=D5_b=F7OMVatpYA@mail.gmail.com">
<div dir="ltr">
<div style="font-family:monospace" class="gmail_default">I guess
I just don't see how a prefix match would be considered an
unpacking and not a query. What makes a prefix match an
unpacking while a suffix match is a query? I'm not seeing that
detail yet. But I do see why a center match is a query. That
is unquestionably so.</div>
</div>
</blockquote>
<br>
Think about it it comparison to <br>
<br>
p instanceof Point(var x, _)<br>
<br>
You are logically unpacking x and y, but you don't care about y.
Similarly, with a "there could be more but I don't care" on an
array, you are unpacking the first N, and don't care about the
rest. <br>
<br>
There are alternate ways to structure it (matching on the length
instead of the body, which would admit a constant pattern) but
that's a detail.<br>
<br>
In any case, we are well afield here; this particular feature is "on
the shelf" for now.
</body>
</html>