I want to know if there is a way to bind a whole function call in a variable in Oz. For example, I do have:
fun {F1 A1 A2}
A1+A2
end
and a local variable X
.
What I want to do, is store the call (as-is) {F1 1 2}
in X
and not its result: 3
, so that
I may call again {F1 1 2}
again by somehow referring to X
.
Is this possible in Oz? If so, how?
Thank you for your answers.