0

I have been struggling into understanding of monad.

And, I concluded monad is box of values in which operates some specific task.

so, Can I say Future and Promise are also kind of monad?

Scalalang2
  • 536
  • 1
  • 7
  • 19

1 Answers1

0

Not sure about Promise but Future is considered monadic. https://www.precog.com/blog/Precog-Copointed-The-Abstract-Future/

Ryoichiro Oka
  • 1,949
  • 2
  • 13
  • 20
  • Links are fine and all, but it would be useful to get the gist of the post recorded in your answer. – Nate Oct 30 '14 at 14:40