RosettaCodeData/Task/Higher-order-functions/Deja-Vu/higher-order-functions.djv
2014-01-17 05:34:36 +00:00

10 lines
100 B
Text

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