Re: Function Application is not Currying

2009-01-30 Thread J�rgen Exner
Jon Harrop wrote: >I had hoped someone else would correct you but they haven't. So... That is because ... >Xah Lee wrote: ... everyone with more than 5 cents of brain has killfiled him a long time ago. jue -- http://mail.python.org/mailman/listinfo/python-list

Re: Function Application is not Currying

2009-01-30 Thread Tim Greer
Jon Harrop wrote: > I had hoped someone else would correct you but they haven't. So... The lack of replies aren't about anyone correcting him or not, it's that the guy just posts anything he can to spamvertize his site and tell everyone how brilliant he thinks he is. It's just a method he uses t

Re: Function Application is not Currying

2009-01-30 Thread Jon Harrop
I had hoped someone else would correct you but they haven't. So... Xah Lee wrote: > Here are some examples of a function that returns a function as > result, but is not currying. > > Mathematica example: > > f[n_]:=Function[n^#]; > f[7][2] > (* returns 49 *) > > Emacs lisp example: > > (defma

Re: Function Application is not Currying

2009-01-28 Thread Tim Greer
Russ P. wrote: > On Jan 28, 1:32 pm, Xah Lee wrote: >> Function Application is not Currying >> >> Xah Lee, 2009-01-28 >> >> In Jon Harrop's book Ocaml for Scientist >> athttp://www.../chapter1.html >> >> It says: >> >> Curr

Re: Function Application is not Currying

2009-01-28 Thread Russ P.
On Jan 28, 1:32 pm, Xah Lee wrote: > Function Application is not Currying > > Xah Lee, 2009-01-28 > > In Jon Harrop's book Ocaml for Scientist > athttp://www.ffconsultancy.com/products/ocaml_for_scientists/chapter1.html > > It says: > >     Currying > &g

Re: Function Application is not Currying

2009-01-28 Thread Kaz Kylheku
On 2009-01-28, Xah Lee wrote: > Function Application is not Currying That's correct, Xah. Currying is a special case of function application. A currying function is applied to some other function, and returns function that has fewer arguments. In some languages, you don't see

Re: Function Application is not Currying

2009-01-28 Thread James Mills
On Thu, Jan 29, 2009 at 10:28 AM, alex23 wrote: > On Jan 29, 7:32 am, Xah Lee wrote: >> But he is really a asshole, and >> take every chance to peddle his book. > > As opposed to really being an asshole and peddling one's website at > every opportunity? It would seem that Xah Lee suffers from a

Re: Function Application is not Currying

2009-01-28 Thread alex23
On Jan 29, 7:32 am, Xah Lee wrote: > But he is really a asshole, and > take every chance to peddle his book. As opposed to really being an asshole and peddling one's website at every opportunity? -- http://mail.python.org/mailman/listinfo/python-list

Re: Function Application is not Currying

2009-01-28 Thread MRAB
s...@netherlands.com wrote: On Wed, 28 Jan 2009 13:32:29 -0800 (PST), Xah Lee wrote: Function Application is not Currying Xah Lee, 2009-01-28 In Jon Harrop's book Ocaml for Scientist at http://www.ffconsultancy.com/products/ocaml_for_scientists/chapter1.html It says: Currying

Re: Function Application is not Currying

2009-01-28 Thread sln
On Wed, 28 Jan 2009 13:32:29 -0800 (PST), Xah Lee wrote: >Function Application is not Currying > >Xah Lee, 2009-01-28 > >In Jon Harrop's book Ocaml for Scientist at >http://www.ffconsultancy.com/products/ocaml_for_scientists/chapter1.html > >It says: > >Cu

Function Application is not Currying

2009-01-28 Thread Xah Lee
Function Application is not Currying Xah Lee, 2009-01-28 In Jon Harrop's book Ocaml for Scientist at http://www.ffconsultancy.com/products/ocaml_for_scientists/chapter1.html It says: Currying A curried function is a function which returns a function as its result. LOL. Th