Relative Content

Tag Archive for monad

Different ways to see a monad

While learning Haskell I have faced a lot of tutorials trying to explain what are monads and why monads are important in Haskell. Each of them used analogies so it would be easier to catch the meaning.
At the end of the day, I have end up with 3 differents view of what a monad is:

Futures/Monads vs Events

In an application framework
when performance impact can be ignored (10-20 events per second at max),
what is more maintainable and flexible to use as a preferred medium for communication between modules – Events or Futures/Promises/Monads?

Is this a monad in Java? (part 2)

My first try was on stackoverflow. I’m picking up on the answer there to improve my monad: StackOverflow – Is this a monad in Java?