On Thu, 3 Jun 2021 11:35:13 GMT, Rémi Forax <fo...@openjdk.org> wrote:

>> My mistake. I've replaced the colon now with the lambda operator. See a8706b0
>
>> My mistake. I've replaced the colon now with the lambda operator.
> 
> Drive by comment, in term of name, `->` is the arrow operator not the lambda 
> operator.
> - lambda = parameters + arrow + code
> - arrow case =  case + arrow + code
> 
> The difference is important because a lambda is a function while an arrow 
> case is a block.

Ah OK, good to know. Thanks Remi!

-------------

PR: https://git.openjdk.java.net/jdk/pull/4312

Reply via email to