lazebny / ramda-ruby

Ruby port of http://ramdajs.com
MIT License
108 stars 7 forks source link

Feature Request: support dry-monad's applicative #apply method #13

Open niksosf opened 5 years ago

niksosf commented 5 years ago

Hi there, Dry-monads now has the applicative method which allows for

https://github.com/dry-rb/dry-monads/blob/master/lib/dry/monads/right_biased.rb#L122

Some( -> x { x + 1 }).apply(Some(1)) # => Some(3)

Would you care to include it as it has been done for Kleisli's * method? Or do you accept PR? If PR, do you have any guidelines?

lazebny commented 5 years ago

Hi @niksosf, please feel free to create PR with tests in any form. Might be useful for development setup https://github.com/lazebny/ramda-ruby#development

niksosf commented 5 years ago

@lazebny sounds great will try