The Maybe Monad (In Ruby)
Mark Mzyk | February 15, 2008
At the tail end of last year I wrote a piece in which I waxed about a possible maybe operator. I haven’t looked into implementing anything like it because my time is limited and I don’t feel I (yet) have the technical expertise to do so. However, I was reminded of the concept again when I read about the maybe monad from Haskell being implemented in Ruby. Perhaps there’s a future out there for a maybe operator and maybe monads. That passing whimsy you have just might be a good idea after all.