Task

Pass a function     as an argument     to another function.



Related task

   First-class functions


F first(function)
   R function()
 
F second()
   R ‘second’
 
V result = first(second)
print(result)