-
Notifications
You must be signed in to change notification settings - Fork 2
apply
TurtleKitty edited this page May 12, 2019
·
2 revisions
Applies an object to a list of arguments and a record of options. The object in question must answer the message apply. The user can pass and options table to be sent to the applied object with opt.
(apply + '(1 2 3 4 5) (:)) ; 15
(+.apply '(1 2 3 4 5) null) ; 15
(apply range '(0 49) opt: (: step 7))
; (0 7 14 21 28 35 42 49)