Catamorphism: Difference between revisions
m
→{{header|AppleScript}}
(→{{header|AppleScript}}: Primitive and output updated) |
|||
Line 248:
(Note that to obtain first-class functions from user-defined AppleScript handlers, we have to 'lift' them into script objects).
<lang AppleScript>---------------------- CATAMORPHISMS ---------------------
-- the arguments available to the called function f(a, x, i, l) are
|