can Kotlin somehow match nested classes with `when...
# announcements
k
can Kotlin somehow match nested classes with
when
expression? something like Haskell can do, like
(Foo (Bar (Baz x))) -> ... something(x)
?
s
Nope. Relevant discussion: https://github.com/Kotlin/KEEP/pull/213
k
cool, hopefully it lands sooner than later! thanks...