method-definer

A macro.

Exported from

Macro call

define (adjectives) method (name) (parameters) => (values) (options)
(body)
end method (name)

Arguments

adjectivesGwydion Dylan allows the following adjectives: sealed, open, not-inline, default-inline, may-inline, inline, inline-only, movable, flushable, sideways.  The default is sealed.  See Define adjectives.
nameA binding name.
parametersA parameter list.  May be empty.
valuesA value list.  May be omitted.
optionsGwydion Dylan does not allow any options.
bodyA method body; a series of semicolon-separated expressions.
The common-dylan module.
Whenever possible, we have tried to keep the Dylan module pristine and unextended, preferring to add our extensions to separate modules or libraries.
The various -definer macros may be used with a number of adjectives.