From: Andrea Corallo <acorallo@gnu.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: feature/type-hierarchy 8a63e50036f 1/5: * Define 'cl--type-hierarchy' and compute 'cl--typeof-types' from it
Date: Sun, 03 Mar 2024 11:56:07 -0500 [thread overview]
Message-ID: <yp17cij1cgo.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <jwvil25ly30.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Fri, 01 Mar 2024 11:49:38 -0500")
Stefan Monnier <monnier@iro.umontreal.ca> writes:
[...]
> The current table has errors. I see for example:
>
> (fixnum integer integer-or-marker number atom number-or-marker)
>
> where `atom` should come *after* `number-or-marker`.
Okay re-reading my code I understood that when I wrote the generator I
miss-understood (again) the intended format of `cl--typeof-types'.
Looks to me better now, this is the content on my Emacs after having
pushed 8d11b7e4275, please have a look:
((subr-primitive subr function atom)
(subr-native-elisp subr function atom)
(compiled-function function atom)
(module-function function atom)
(subr function atom)
(byte-code-function compiled-function function atom)
(cons list sequence)
(null list sequence boolean symbol atom)
(string array sequence atom)
(char-table array sequence atom)
(bool-vector array sequence atom)
(vector array sequence atom)
(symbol-with-pos symbol atom)
(boolean symbol atom)
(keyword symbol-with-pos symbol atom)
(fixnum integer number number-or-marker integer-or-marker atom)
(bignum integer number number-or-marker integer-or-marker atom)
(number number-or-marker atom)
(marker number-or-marker integer-or-marker atom)
(integer number number-or-marker integer-or-marker atom)
(float number number-or-marker atom)
(obarray atom)
(symbol atom)
(number-or-marker atom)
(integer-or-marker atom)
(overlay atom)
(window-configuration atom)
(process atom)
(window atom)
(function atom)
(buffer atom)
(frame atom)
(hash-table atom)
(terminal atom)
(thread atom)
(mutex atom)
(condvar atom)
(font-spec atom)
(font-entity atom)
(font-object atom)
(user-ptr atom)
(tree-sitter-parser atom)
(tree-sitter-node atom)
(tree-sitter-compiled-query atom)
(structure atom)
(class atom)
(array sequence atom)
(list sequence)
(atom)
(sequence))
Also is not clear to me if 'cl--typeof-types' should include all types
or only leaf ones. The original was inconsistent on this, this version
evidently includes all types but should be easy to generate only based
on the leaf ones if necessary.
Thanks
Andrea
next prev parent reply other threads:[~2024-03-03 16:56 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <170801660982.26727.13226947668211497607@vcs2.savannah.gnu.org>
[not found] ` <20240215170330.82819C0F009@vcs2.savannah.gnu.org>
2024-03-01 16:49 ` feature/type-hierarchy 8a63e50036f 1/5: * Define 'cl--type-hierarchy' and compute 'cl--typeof-types' from it Stefan Monnier
2024-03-01 18:12 ` Andrea Corallo
2024-03-01 18:59 ` Stefan Monnier
2024-03-03 8:51 ` Andrea Corallo
2024-03-03 14:21 ` Stefan Monnier
2024-03-03 18:34 ` Andrea Corallo
2024-03-03 20:41 ` Stefan Monnier
2024-03-04 9:16 ` Andrea Corallo
2024-03-04 15:37 ` Stefan Monnier
2024-03-04 16:12 ` Andrea Corallo
2024-03-04 16:35 ` Stefan Monnier
2024-03-03 16:56 ` Andrea Corallo [this message]
2024-03-03 17:31 ` Stefan Monnier
2024-03-03 18:05 ` Andrea Corallo
2024-03-03 18:20 ` Stefan Monnier
2024-03-03 18:37 ` Andrea Corallo
2024-03-03 20:42 ` Stefan Monnier
2024-03-04 9:24 ` Andrea Corallo
2024-03-04 15:51 ` Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=yp17cij1cgo.fsf@fencepost.gnu.org \
--to=acorallo@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.