|
|
|
|
|
by brianberns
2958 days ago
|
|
The Option/Maybe monad is very common in FP languages. I don't know if it's native in Elixir, but apparently it's pretty easy to implement: http://www.zohaib.me/monads-in-elixir-2/#maybe There are lots of ways to conceptualize monads. I think "functors that flatten" is accurate, but is just one way. |
|