Task

Pass a function     as an argument     to another function.



Related task

   First-class functions


map f lst:
    ]
    for item in lst:
        f item
    [
 
twice:
    * 2
 
!. map @twice [ 1 2 5 ]