[Haskell-cafe] Currying function using values from array
Lemming
schlepptop at henning-thielemann.de
Fri Aug 8 17:39:29 EDT 2008
Sukit Tretriluxana schrieb:
> Thanks Tom and Henning for your response. Let me put the question in
> another way by generalizing and tweaking it a little bit.
>
> How in Haskell that I can create a function that curries *any *other
> function, which receives multiple parameters, by using a the input from
> a list (same data type) or a tuple (mixed data type) such that it either
> returns another closure (if not all parameters are curried) or the final
> value of the computation (when all parameters are known)?
Is this a theoretical question or do you actually need this? If yes, I
wonder what application it may be.
More information about the Haskell-Cafe
mailing list