; Add two comments on comp-known-predicates cl-deftype-satisfies

* lisp/emacs-lisp/comp.el (comp-known-predicates): Add comment.
* lisp/emacs-lisp/cl-macs.el: Likewise.
This commit is contained in:
Andrea Corallo 2024-02-21 15:45:40 +01:00
parent c65a59a9e9
commit 88abbf00af
2 changed files with 4 additions and 0 deletions

View file

@ -188,6 +188,9 @@ Useful to hook into pass checkers.")
finally return h)
"Hash table function -> `comp-constraint'.")
;; Keep it in sync with the `cl-deftype-satisfies' property set in
;; cl-macs.el. We can't use `cl-deftype-satisfies' directly as the
;; relation type <-> predicate is not bijective (bug#45576).
(defconst comp-known-predicates
'((arrayp . array)
(atom . atom)