home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / lang / misc / 2789 < prev    next >
Encoding:
Text File  |  1992-08-27  |  1.2 KB  |  35 lines

  1. Newsgroups: comp.lang.misc
  2. Path: sparky!uunet!gossip.pyramid.com!decwrl!sdd.hp.com!usc!rpi!sarah!cook!karp.albany.edu!ganesh
  3. From: ganesh@cs.albany.edu (Ganesh Murugesan)
  4. Subject: Re: Origin of "curried"
  5. In-Reply-To: banksd@hydra.rtp.dg.com's message of Wed, 26 Aug 92 18:43:02 GMT
  6. Message-ID: <GANESH.92Aug27115411@karp.albany.edu>
  7. Originator: ganesh@karp.albany.edu
  8. Sender: ganesh@cs.albany.edu (Ganesh Murugesan)
  9. Organization: Computer Science Department, SUNY at Albany, Albany, NY 12222
  10. References: <1992Aug26.184302.17123@dg-rtp.dg.com>
  11. Date: Thu, 27 Aug 1992 16:54:11 GMT
  12. Lines: 21
  13.  
  14. In article <1992Aug26.184302.17123@dg-rtp.dg.com> banksd@hydra.rtp.dg.com (E du^2 + 2F dudv + G dv^2) writes:
  15.  
  16. >   The discussion of "dope vector"'s etymology reminds me -- what 
  17. >  is the origin of the obligatory "curried add" in lisp examples? 
  18. >  Have you ever encountered this sense of "curry" elsewhere?
  19. >
  20.  
  21.     I came across the term "currying" in my Prog. Lang. Course, in 
  22. Scheme and Lambda Calculus. 
  23.  
  24. It was essentially breaking up say n arguments to a function as n functions
  25. taking one argument each, but both methods producing the same result,
  26.  
  27. eg
  28.  
  29.     (lambda (x y z)  body)  
  30.  
  31.          (lambda (x) (lambda (y) ( lambda (z)  body) body) body)
  32.  
  33. Ganesh
  34.  
  35.