Task

Pass a function     as an argument     to another function.



Related task

   First-class functions


doSthWith: function [x y f][
	f x y
]
 
print [ "add:" doSthWith 2 3 $[x y][x+y] ]
print [ "multiply:" doSthWith 2 3 $[x y][x*y] ]