[Top][All Lists]

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

Re: Generic functions: Specializers like `or' or `memq'?

From: Stefan Monnier
Subject: Re: Generic functions: Specializers like `or' or `memq'?
Date: Wed, 03 Nov 2021 22:34:42 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> This is not standard CLOS parlance, because CLOS does not include
> a mechanism to define new kinds of specializers: you can dispatch on
> (eql <VAL>) and you can dispatch on types and that's that (tho IIRC, you
> can actually extend it via the MOP, potentially with the help of some
> details of your Common-Lisp implementation).

BTW, I took the term "generalizer" from the following article (from
which I drew a fair bit of inspiration when designing `cl-generic.el`):

    Generalizers: New metaobjects for generalized dispatch

-- Stefan

reply via email to

[Prev in Thread] Current Thread [Next in Thread]