emacs-devel
[Top][All Lists]
Advanced

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

Re: ELPA submission: drepl (REPL protocol)


From: Augusto Stoffel
Subject: Re: ELPA submission: drepl (REPL protocol)
Date: Thu, 02 Nov 2023 17:08:14 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

On Thu,  2 Nov 2023 at 14:26, João Távora wrote:

> Two notes here:
>
> * If this generic is something that anyone else besides drepl.el
>   is meant to add methods to, then it shouldn't be a '--' symbol.

Well, those symbols are somewhere in between "public" and "private".  As
a user you shouldn't fiddle with them (unless you know what you're
doing).  If anyone wanted to implement a subclass elsewhere, they
certainly would have to add methods to some '--' symbols.  But then the
burden of keeping up with changes in drepl.el is on them and not me.

I suppose that's what people understand by double-dashed symbols...?

> * Normally, instead of "error", CL programmers just leave out such
>   a default implementation.  The standard "No applicable method" error
>   already signals that some generic function was invoked with arguments
>   for which  there wasn't an applicable method, and the error message
>   contains   information about those arguments.

Ah, sure, that's what I should do.



reply via email to

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