Skip to content
TurtleKitty edited this page May 17, 2019 · 2 revisions

resend

This function takes a message name and returns a function that takes an object and applies that message to it.

(def xs (list 1 2 3))
(map (resend 'inc) xs) ; (list 2 3 4)
Clone this wiki locally