emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] * etc/NEWS: Document incompatibilities introduced by record


From: Stefan Monnier
Subject: Re: [PATCH] * etc/NEWS: Document incompatibilities introduced by record types.
Date: Tue, 12 Dec 2017 15:45:59 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

>> e.g. it'd be fine to
>> make `cl-defstruct` reject names like `integer` or `hash-table`
> That's what I'm suggesting.

That sounds good (can be added either to cl-defstruct or to
cl-struct-define or both and could use the list of builtin types that's
in cl--generic-typeof-types).

Moving forward, I'd expect that "types" will get a more first-class
presence in Elisp, so you should be able to check if a given type name
is already used.


        Stefan




reply via email to

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