Function as a parameter in proc
I want to write the function into the proc.
test:=proc(h)
h(1.1);
end;
proc(h) ... end;
It doesn't gives what I want:
test(x^3);
3
x(1.1)
I would like to obtain 1.331 .
More explicitly, how can I write into a proc
a function directly, say x^3?
(Not defining earlier h:=x->x^3 .)

Loading Comments & Answers