Not a clue, at work, I can rarely watch video’s in general thus I tend to need text. ^.^;
Lol, all good.
I was curious about implementing the monad pattern in elixir so I went ahead and did so in a new playground
- Monad definition:
- Monad implementations for list/map/okerrortuples:
- And the tests (it already has it’s own built-in tests via
deftest
but here are explicit ones too to show usage):