Re: [Haskell-cafe] Real World Haskell: confusion

2009-01-13 Thread Derek Elkins
On Tue, 2009-01-13 at 19:23 -0500, Anton van Straaten wrote: > Derek Elkins wrote: > > No, it means exactly what you said it means. People abuse it to mean > > the second sense. Those people are wrong and there is already a term > > for that second sense, namely "partial application." I really w

Re: [Haskell-cafe] Real World Haskell: confusion

2009-01-13 Thread Derek Elkins
On Wed, 2009-01-14 at 12:39 +1300, George Pollard wrote: > On Tue, 2009-01-13 at 11:46 -0600, Derek Elkins wrote: > > No, it means exactly what you said it means. People abuse it to mean > > the second sense. Those people are wrong and there is already a term > > for that second sense, namely "pa

Re: [Haskell-cafe] Real World Haskell: confusion

2009-01-13 Thread wren ng thornton
Anton van Straaten wrote: Derek Elkins wrote: > * A related annoyance is people who talk about languages "supporting > currying and/or partial application." Unless one means that the > language supports higher order functions at all by that, it doesn't make > any sense. Haskell has no "support"

Re: [Haskell-cafe] Real World Haskell: confusion

2009-01-13 Thread Anton van Straaten
Derek Elkins wrote: No, it means exactly what you said it means. People abuse it to mean the second sense. Those people are wrong and there is already a term for that second sense, namely "partial application." I really wish people would stop conflating these terms*, all it does is create conf

Re: [Haskell-cafe] Real World Haskell: confusion

2009-01-13 Thread Peter Verswyvelen
> I'd almost say that there is no such thing as partial application in > Haskell. Since every: > > > f ∷ a → b → c > > is really: > > > f ∷ a → (b → c) > > there are no multiple arguments to be applied 'partially', only a > function 'f' that takes one argument and gives you another, anonymous, > fu

Re: [Haskell-cafe] Real World Haskell: confusion

2009-01-13 Thread George Pollard
On Tue, 2009-01-13 at 11:46 -0600, Derek Elkins wrote: > No, it means exactly what you said it means. People abuse it to mean > the second sense. Those people are wrong and there is already a term > for that second sense, namely "partial application." I really wish > people would stop conflating

Re: [Haskell-cafe] Real World Haskell: confusion

2009-01-13 Thread Derek Elkins
No, it means exactly what you said it means. People abuse it to mean the second sense. Those people are wrong and there is already a term for that second sense, namely "partial application." I really wish people would stop conflating these terms*, all it does is create confusion. To Eugene: The

Re: [Haskell-cafe] Real World Haskell: confusion

2009-01-13 Thread Dan Piponi
2009/1/13 Peter Verswyvelen : > On page 102: "partial function application is named currying" > I thought "currying" or "to curry" means converting > f :: (a,b) ->c Confusion over these terms is commonplace. See, for example, the discussion here: http://lambda-the-ultimate.org/node/2266 -- Dan ___

Re: [Haskell-cafe] Real World Haskell: confusion

2009-01-13 Thread Peter Verswyvelen
Ah. That explains my confusion. But isn't that ambiguous terminology? There must be some reason for it to be that way? On Tue, Jan 13, 2009 at 5:05 PM, Eugene Kirpichov wrote: > The term 'currying' means both of these things: > - Converting an uncurried function to a 'curriable' one > - Partiall

Re: [Haskell-cafe] Real World Haskell: confusion

2009-01-13 Thread Eugene Kirpichov
The term 'currying' means both of these things: - Converting an uncurried function to a 'curriable' one - Partially applying a 'curriable' function 2009/1/13 Peter Verswyvelen : > On page 102: "partial function application is named currying" > > > > I thought "currying" or "to curry" means conve

[Haskell-cafe] Real World Haskell: confusion

2009-01-13 Thread Peter Verswyvelen
On page 102: "partial function application is named currying" I thought "currying" or "to curry" means converting f :: (a,b) ->c into g :: a -> b -> c by applying "curry" (mmm, are Asian people good at Haskell? :-) g = curry f ___ Haskell-