create via the aggregate function, example as:

 let fx = aggregate(FUN = "max");
 
 print(fx([1,2,3,4,5]));
 # [1] 5