r/functionalprogramming • u/[deleted] • Nov 23 '22
Intro to FP Understanding Monads. A Guide for the Perplexed
https://www.infoq.com/articles/Understanding-Monads-guide-for-perplexed/
28
Upvotes
3
r/functionalprogramming • u/[deleted] • Nov 23 '22
3
3
u/brunogadaleta Nov 23 '22
Ok I miss something. Let's say I created a monad with toMonad() and applied some functions to the it via the bind() function or the corresponding operator. But how do I finally get the value outside the monad for further use ? How do I trigger the actions so that the actual value is read and the functions are actually applied?