Re:Mental models around Ok-Wrapping
by pinopinopino on Friday April 10, 2020 @11:58AM
(#22834324)
A true that, long day and have been working with shapeless in scala, where type level and value level mixes up :)
Validation types work the way you describe and require a monoidal "error" side, but famously do not form monads (though they are applicative functors).