On Thu, 3 Jun 2021 10:57:16 GMT, Patrick Concannon <pconcan...@openjdk.org> 
wrote:

> 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.

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

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

Reply via email to