3 ms·
> Simple and straightforward examples struggle to show any benefits that generalizations could/would provide. Using Haskell you can use do-notation (with lists
by ReleaseCandidat 5y ago
> Simple and straightforward examples struggle to show any benefits that generalizations could/would provide.
Using Haskell you can use do-notation (with lists, Maybe and Either) as a simple example that should show the user the advantage of generic monads. (Just don't show them the problems with composability of monads or 'do-notation considered harmful' ;).