[Haskell-cafe] calling a variable length parameter lambda expression

Nico Rolle nrolle at web.de
Tue May 5 12:49:54 EDT 2009


Hi everyone.

I have a problem.
A function is recieving a lambda expression like this:
(\ x y -> x > y)
or like this
(\ x y z a -> (x > y) && (z < a)

my problem is now i know i have a list filled with the parameters for
the lambda expression.
but how can i call that expression?
[parameters] is my list of parameters for the lambda expression.
lambda_ex is my lambda expression

is there a function wich can do smth like that?

lambda _ex (unfold_parameters parameters)

best regards


More information about the Haskell-Cafe mailing list