I came across with the term "currying" in some javascript book. Oh it has nothing to do with that yellow (or green or red) spicy dish.
Haskell Curry has programming language and concept named after his last name AND first name. Now that's impressive. Even Albert Einstein and Issac Newton didn't acheive have that (heard of anything called
Albert or
Issac)?
See here for details... so you can break a function into a function and then pass it to an internal (partial) function.
Can someone raise hand: "uh, just how gains do you have by doing this?" Do you really find this useful?
No comments:
Post a Comment