<!DOCTYPE html><html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<br>
<blockquote type="cite" cite="mid:1527973645.113720588.1706291692888.JavaMail.zimbra@univ-eiffel.fr">
<div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000">
<div data-marker="__QUOTED_TEXT__">
<blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><br>
- We basically agree that at the use site, we have all the
qualification modes we have with methods { constructor
qualified with package, static member qualified with type,
instance member qualified with receiver } , and possibly, an
additional mode of "instance qualified by type" </blockquote>
<div><br>
</div>
<div>for me the special mode is more 'instance member
qualified with receiver' but yes,<br data-mce-bogus="1">
</div>
</div>
</div>
</blockquote>
<br>
I think you'll find once you start writing code with it that the
receiver-qualified version is more common than you think. And, if
we only could have one, it has to be the receiver-qualified one,
since you can get to the "unbound" version by specifying the
receiver explicitly (use the match candidate as an explicit
receiver), but you can't go the other way -- if all you have is
unbound, you can't do regular expressions, you can't do type
classes, you can't do anything virtual where the pattern operates on
something other than itself. So receiver-qualified is the
"primitive" and the other is a convenience syntax that we can layer
on top of it if we need. <br>
<br>
<blockquote type="cite" cite="mid:1527973645.113720588.1706291692888.JavaMail.zimbra@univ-eiffel.fr">
<div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000">
<div data-marker="__QUOTED_TEXT__">
<div><br data-mce-bogus="1">
</div>
<blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><br>
- The details of the last one are not fully worked out,
that's fine<br>
- The details of exhaustiveness are not fully worked out,
that's fine<br>
<br>
Is that about right?<br>
</blockquote>
yes,
<div><br>
</div>
<div>and there is also how to send parameters to the pattern
method (and if this is something we should support) that can
be added to that list.<br data-mce-bogus="1">
</div>
</div>
<div data-marker="__QUOTED_TEXT__"><br data-mce-bogus="1">
</div>
</div>
</blockquote>
<br>
This one is interesting. I was convinced at first we needed it, but
I now think we can do without it (in this form), and we can get the
effect of it in a more organic way. <br>
<br>
In any case, glad that we're on the same page. More docs coming.<br>
</body>
</html>