[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Singleton, default DEFMETHOD now as fast as a DEFUN?



ihlpf!lgm (Lawrence G Mayka) says:

>The two hitches are (a) functions taking no arguments cannot be
>DEFMETHODs, ...

Is this specified in the CLOS standard?  From an empirical point of
view, it's false, since I just did the following in Victoria Day PCL:

  (defmethod say-hello-gracie () "Hello, Gracie")

This sort of definition is admittedly very uninteresting,
but it does appear to be supported.

John