[Haskell-cafe] Better writing about Haskell through multi-metaphor learning

Joachim Durchholz jo at durchholz.org
Sat Sep 18 10:34:21 UTC 2021


Am 18.09.21 um 11:19 schrieb Branimir Maksimovic:
> This is monad:
> f(g(h(…)))
> 
> To make sequence out of functions.

Ah, no. That's just function composition.

A monad can do more - e.g. Maybe interleaves the functions with a check 
whether it was passed in Nothing.

Regards,
Jo


More information about the Haskell-Cafe mailing list