News for hackers. Stuff that matters.
Re:The Kotlin Language: 1.0 Beta Is Here by kcorbitt on Monday November 02, 2015 @12:34PM (#10493426)
With the caveat that I haven't tried it myself:

> What about pattern matching? This is where the word “sealed” above comes in handy; we can do an exhaustive pattern match without an else/otherwise branch

from https://medium.com/@octskyward/kotlin-fp-3bf63a17d64a#.8dbwa...

Re:The Kotlin Language: 1.0 Beta Is Here by commentzorro on Monday November 02, 2015 @02:45PM (#10494588)
This looks to be single value matching only and no compile time exhaustion checks. This looks like really nice (i.e. sugary) alternative to switch but not quite pattern matching.