<div dir="ltr"><a href="https://mail.openjdk.org/pipermail/amber-dev/2022-March/007247.html">https://mail.openjdk.org/pipermail/amber-dev/2022-March/007247.html</a><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">вт, 5 июл. 2022 г. в 01:21, Hunor Szegi <<a href="mailto:hunor.szegi@gmail.com">hunor.szegi@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-size:small">Hi all,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">At the current proposal instead of the && guards a "when" keyword will be used. I would like to ask isn't it possible to use the "if" keyword instead? It would be shorter and perfectly matching to the role of a pattern guard. Do we need a new keyword? (I guess it won't be a reserved word, only a contextual keyword.)</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Regards,</div><div class="gmail_default" style="font-size:small">Hunor</div></div>
</blockquote></div>