Go to the first, previous, next, last section, table of contents.


setMethodSlot

Function: setMethodSlot { method slot op arg -> }
file: job.t
package: muf
status: alpha

The setMethodSlot sets contents of the given slot to op and arg.

If op is t, the interpretation is that the matching actual argument given to the generic function is under no constraint. (Wild card match.)

If op is :isA, the interpretation is that the matching actual argument given to the generic function must be an instance of class arg (or a subclass of arg) in order for the method to be applicable.

If op is :eql, the interpretation is that the matching actual argument given to the generic function must be eql to arg in order for the method to be applicable -- they must be the same object, or numerically equal.

See section getMethodSlot.


Go to the first, previous, next, last section, table of contents.