Re:Idiomatic Monads in Rust
by kod on Thursday April 04, 2019 @04:05PM
(#19576529)
Kotlin doesn't even have real pattern matching. Calling it integrating FP is a sad joke.
[ Parent
| on HN ]
It's got algebraic types, and a typeclasses proposal (with a PR!) was actively worked on, last time I checked.
Algebraic types without being able to conveniently destructure them is maybe half the benefit at best.
Pattern matching has nothing to do with FP.