The title argument is a string which titles the method. The situation argument is the guard condition which is used to select candidate methods. The with argument specifies a condition which must be satisfied before response is performed. This argument defaults to a condition which is always t . The response argument is a list of Lisp forms which are to be evaluated if the with test is satisfied when the method is invoked.
Variables bound within the situation and with clauses are accessible from the response .
Value The defined or redefined Loom method is returned. If a method is defined before the corresponding action, Loom automatically creates that action. An existing method cannot be redefined to have a different number of parameters unless that method's action is explicitly redefined first. Overridden methods must be defined before the method that overrides them. Currently, concepts and relations referenced in the situation and with clauses of a method must be defined before the method itself is defined.