module Rumonade

Rumonade

Rumonade is a ruby module providing a scala-like system of monads, including:

See the examples in files/README_rdoc.html for more insight.

Constants

VERSION

Public Class Methods

Left(left_value) click to toggle source

@param (see Left#initialize) @return [Left]

# File lib/rumonade/either.rb, line 149
def Left(left_value)
  Left.new(left_value)
end
Right(right_value) click to toggle source

@param (see Right#initialize) @return [Right]

# File lib/rumonade/either.rb, line 155
def Right(right_value)
  Right.new(right_value)
end

Public Instance Methods

Left(left_value) click to toggle source

@param (see Left#initialize) @return [Left]

# File lib/rumonade/either.rb, line 149
def Left(left_value)
  Left.new(left_value)
end
Right(right_value) click to toggle source

@param (see Right#initialize) @return [Right]

# File lib/rumonade/either.rb, line 155
def Right(right_value)
  Right.new(right_value)
end