"I consider this method (Proc#curry) to be trivial"
blade.nagaokaut.ac.jp
blade.nagaokaut.ac.jp
Being a software author seems to be a particularly exquisite form of torture.
I buy his stuff sight unseen.
class Proc
def curry *args
self.class.new {|*a| self.call(*(args+a))}
end
endI'm a "functional programming kid", but I'm not familiar with Ruby's development process nor its important people.
Sounds like much ado about nothing to me. Mention it in the errata and the next edition, and move on to more important things.
Yeah, it does seem pretty trivial. Granted, I would probably find it extremely useful (if I used ruby), but it doesn't seem to complicate the language to the point of needing to be delayed until a major release.