globaltcad / sprouts

A property MVVM API for the Swing-Tree library
MIT License
1 stars 0 forks source link

Add Maybe as a Supertype to Result and Val instead of Result being a Val #115

Closed Gleethos closed 2 months ago

Gleethos commented 2 months ago

Due to ´Result´ inheriting from ´Val´, it has a lot of nonsensical API surface, like for example the ability to register listeners or create views (which is nonsensical due to the ´Result´ type being a monad.