Re:Mental models around Ok-Wrapping
by empath75 on Friday April 10, 2020 @06:39PM
(#22838074)
To me all you need to know about monads is that it’s a wrapper type that contains values and that implements a map function that allows you to unwrap the value, apply a function to it and wrap it again.
There’s more to it, but just understanding it that much takes you a long way.
There’s more to it, but just understanding it that much takes you a long way.