Some monkey patching and constructor methods.
10 11 12
# File 'lib/monad/maybe.rb', line 10 def maybe_map Monad::Maybe::List.new(map{ |x| yield(x) }) end