Higher-order functions: Difference between revisions

Line 290:
--> {0, 2, 4, 6, 8, 10}</lang>
 
As a footnote on lifting 2nd class AppleScript handlers into first1st class script objects for use with higher order functions, the role of '''mReturn''' or '''mInject''' can be inlined in such functions as followed, if preferred:
 
<lang AppleScript>-- [a] -> (a -> b) -> [b]
9,659

edits