3 ms·
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,
by empath75 7y ago
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.