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
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
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 mirrorfirst_cond && second_cond ```
Post a comment