Skip to main content

All Questions

7 votes
3 answers
3k views

Should databases be viewed as Monads?

Because any kind of persistence updates/inserts/deletes represents in some sense a kind of state change in a database, it makes me wonder whether databases can be considered monads. We say the same ...
Gaurav Abbi's user avatar
7 votes
2 answers
2k views

Why does Scala name monadic composition as "for comprehension"?

Not sure if it's an appropriate question, but here it goes. I know Haskell's do notation pretty well. And I realized that Scala's "for comprehension" really is just mostly the same as do notation in ...
xji's user avatar
  • 791