Method: Kind::Either::Monad#map

Defined in:
lib/kind/either/monad.rb

#map(&_) ⇒ Object Also known as: map!, then, then!, and_then, and_then!

Raises:

  • (NotImplementedError)


27
28
29
# File 'lib/kind/either/monad.rb', line 27

def map(&_)
  raise NotImplementedError
end