3 ms·
That's because monads are way more general than promises. Explaining how to use Maybe to write total functions is just as easy as explaining promises, if not ea
by bPspGiJT8Y 3y ago
That's because monads are way more general than promises. Explaining how to use Maybe to write total functions is just as easy as explaining promises, if not easier.
- c_crank 3y agoSo long as you're using a single Monad like a black box. Haskell people repeatedly fail when trying to generalize them or explain the underlying premises.