Commits

Anonymous committed b86f7c5

updated examples to be correct

Comments (0)

Files changed (1)

_posts/2012-10-25-pipes_and_filters_in_ruby.md

 Observe the following:
 
 {% highlight scheme %}
- (map (cut + 3) (list 1 2 3 4))
+ (map (cut + 3 <>) (list 1 2 3 4))
 {% endhighlight %}
 
 This is quite elegant and we don't need to go through all these hoops as we do in ruby.