Re: [Austin-Clojure-Meetup] What is Currying? A good blog post on it

From: Artie G.
Sent on: Saturday, February 15, 2014 8:52 AM
Eeeeek!
Explaining currying is a good thing. Pointing to that particular source may not be.

The idea of currying goes back at least to Frege, who noticed that a function of n variables could be looked upon as a function of one variable, the result of which could be applied to n-1 variables. 

Colloquially speaking, a curried function is one to which you can give the arguments that you've got, and it will return a function expecting the arguments it still needs.

A language like Haskell does this as part of its nature (that is, of course Professor Curry's first name -- which, word is, he never liked), in some languages it's nearly impossible to achieve (at least clearly), in Clojure, owing to its Lisp heritage, it's easy and pretty natural. 

[and that's enough for a Saturday morning]

Thanks,
--ag


Sent from my iPhone

On Feb 15, 2014, at 12:06 AM, Sam <[address removed]> wrote:

http://xahlee.info/UnixResource_dir/writ/currying.html



--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by Sam ([address removed]) from Austin Clojure Meetup.
To learn more about Sam, visit his/her member profile
To report this message or block the sender, please click here
To unsubscribe from special announcements from your Organizer(s), click here

Meetup, POB 4668 #37895 NY NY USA 10163 | [address removed]

Our Sponsors

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy