[Haskell-cafe] Real World Haskell: confusion

Peter Verswyvelen bugfact at gmail.com
Tue Jan 13 11:17:37 EST 2009


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 <ekirpichov at gmail.com>wrote:

> 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 <bugfact at gmail.com>:
> > 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-Cafe mailing list
> > Haskell-Cafe at haskell.org
> > http://www.haskell.org/mailman/listinfo/haskell-cafe
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20090113/36c220f0/attachment.htm


More information about the Haskell-Cafe mailing list