Hacker News new | ask | show | jobs
by ddfreyne 4919 days ago
A small mistake: “In Ruby, these functions are map, filter” — is incorrect; filter in Ruby is called select.
1 comments

Cheers, fixed (as soon as the cache updates)
Also Ruby has 'reduce' as a synonym for 'inject'
...and thank god for that. I find inject a really confusing name.
The Ruby names are copied from Smalltalk, as is much of Ruby.
Also: (++) :: [a] -> [a] -> [a]

Article implies: (++) :: [a] -> a -> [a]