In the following code

x= (f,n) -> f(n)
...
x( (n) -> n+1 , 5) #parse error

How can I fix the parse error above ?

Thanks

Edit
Report