[plt-scheme] Why do layman programmers care about Currying?

From: Richard Cleis (rcleis at me.com)
Date: Wed Dec 31 00:44:10 EST 2008

On Dec 30, 2008, at 9:12 PM, Grant Rettke wrote:

> Why do layman (working programmers) care about Currying? Or how are
> they applied in daily use to help one out?
>
> http://en.wikipedia.org/wiki/Currying


On Dec 30, 2008, at 9:12 PM, Grant Rettke wrote:

> Why do layman (working programmers) care about Currying? Or how are
> they applied in daily use to help one out?

I'm not sure if you are referring to 'using a function that curries  
other functions,' or if you mean (as the wikisnip says) "if you fix  
some arguments, you get a function of the remaining arguments." I  
manually do the latter frequently, and it's one of the reasons I like  
Scheme so much.

However, I am not certain that Currying refers to reducing the  
arguments in any order.  I have the impression that Currying literally  
means reducing them in the order that they appear so that other  
functions may be written to take advantage of such strictness.   
Freeform reduction of arguments is simply making use of closures.  No?

rac




Posted on the users mailing list.