4 ms·
Oh my god, there's more to that, Optional is a class, not an interface and it's final :facepalm:
by p2t2p 6y ago
Oh my god, there's more to that, Optional is a class, not an interface and it's final :facepalm:
- mrkeen 6y agoI've made my peace with those aspects of the libraries. I'm happy to wrap the standard classes in MyOption, MyStream, etc. Then I can extend FlatMappable myself. I just don't know how to declare and implement FlatMappable in a sane way (preserving type information, not needing casts, etc.)