RubyFlow The Ruby and Rails community linklog

comp: Add function composition to Procs and Methods

A Ruby library to add function composition between Procs, Methods and any object that responds to call: https://github.com/mudge/comp

Comments

Given how we read conditionals left-to-right, wouldn’t it make more sense if it were like this?

```ruby double_after_add = add * double

This would mirror

first_cond && second_cond ```

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in