comp: Add function composition to Procs and Methods
A Ruby library to add function composition between Proc
s, Method
s and any object that responds to call
: https://github.com/mudge/comp
A Ruby library to add function composition between Proc
s, Method
s 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 mirrorfirst_cond && second_cond ```
Post a comment