Simple Ruby implementations of some common monads.