Class: Kleisli::Functor
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#fmap(&f) ⇒ Object
3 4 5 |
# File 'lib/kleisli/functor.rb', line 3 def fmap(&f) raise NotImplementedError, "this functor doesn't implement fmap" end |