A send_method
object defines the mapping from a selector to an implementation for the send
virtual machine operation. Send_method
objects may be found using object<-send_method
and executed using
send_method->send.
See also class method and class behaviour.
.g. no instances of
class :=) by position.
If the named formal argument allows for multiple values, append the value of the binding to the vector of values.
If the last argument allows for multiple values and there are remaining unbound arguments append them to the vector of values.
->validate
and
type<-translate.
Examples:
size(4, 6), font := font(helvetica, bold, 14))
--> name = foo, options = code_vector(size := size(4, 6), font = font(helvetica,bold,14))
code_vector(format := center)
The second example illustrates how named arguments may be used in combination with multiple valued arguments to achieve Lisp-like keyword arguments.