[Haskell-cafe] Re: currying combinators

Günther Schmidt gue.schmidt at web.de
Tue May 25 20:35:49 EDT 2010


Hi Yitz,

embarrassingly I was unable to deduce the implementation from the type 
signature, don't be tease man, show me what you got :)

Günther

Am 25.05.10 18:27, schrieb Yitzchak Gale:
> Günther Schmidt wrote:
>> http://www.hpaste.org/fastcgi/hpaste.fcgi/view?id=25694
>> in which I attempt to develop a "currying combinator" library.
>> I'm stuck at some point and would appreciate any help.
>
> How about this:
>
> keep :: ((t ->  b) ->  u ->  b) ->  ((t1 ->  t) ->  b) ->  (t1 ->  u) ->  b
>
> so then
>
> nameZip = keep (drop' . drop') names
>
> Regards,
> Yitz




More information about the Haskell-Cafe mailing list