Monads in Ruby

This is quite an old blog series by now, but I thought it would be quite fun to post it here. It describes implementing Monads in Ruby. It was never finished, but still a worth while read.

http://moonbase.rydia.net/mental/writings/programming/monads-in-ruby/00introduction.html

3 Likes

Nice! There was a good conference talk on Monads not long ago

2 Likes

There’s also a GitHub repo (and a gem) for the talk mentioned by @danielpclark: GitHub - tomstuart/monads: Simple Ruby implementations of some common monads..

1 Like