On 2018-09-07T14:41:12 -0400 Brian Goetz <brian.go...@oracle.com> wrote:
> I've updated the documents regarding pattern matching, and uploaded them > here: > > http://cr.openjdk.java.net/~briangoetz/amber/pattern-match.html > http://cr.openjdk.java.net/~briangoetz/amber/pattern-semantics.html I need to give the semantics document another serious read (I don't care much about syntax, personally), but at first impression, I particularly like how nullability has been handled. Nullable patterns seem like a great way to support both null-hostile and null-tolerant programming. -- Mark Raynsford | http://www.io7m.com