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

send

This core function sends messages to objects.
The dot operator is syntactic sugar for send.

foo.bar ; (send foo (quote bar))

send is most useful when calculating what message to send an object dynamically.

(send foo (if predicate 'bar 'baz))
Clone this wiki locally