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

generic function



    Date: Mon, 22 Jul 1991 08:27 EDT
    From: smith@icat.larc.nasa.gov (Steven L. Smith)

    Is there way to define a generic function which will specialize
    based on the number of arguments passed. For example, I'm trying
    to do the following:

Neither Flavors nor CLOS support this; all generic function dispatch is
based on types or equality.  Maybe it's possible to do it in CLOS by
using the meta-object protocol to define a new class of generic
functions that implements a different kind of dispatching.

                                                barmar