[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 0bd96806ef: * Rename `comp--typeof-builtin-types'
From: |
Andrea Corallo |
Subject: |
master 0bd96806ef: * Rename `comp--typeof-builtin-types' |
Date: |
Thu, 18 Aug 2022 17:47:00 -0400 (EDT) |
branch: master
commit 0bd96806ef1a0f0d2d3f48cdb1204b7e393ab036
Author: Andrea Corallo <akrl@sdf.org>
Commit: Andrea Corallo <akrl@sdf.org>
* Rename `comp--typeof-builtin-types'
* lisp/emacs-lisp/comp-cstr.el (comp--typeof-builtin-types): Rename.
(comp-normalize-valset, comp-common-supertype-2): Update.
---
lisp/emacs-lisp/comp-cstr.el | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/lisp/emacs-lisp/comp-cstr.el b/lisp/emacs-lisp/comp-cstr.el
index 948a2c4f70..8cff06a383 100644
--- a/lisp/emacs-lisp/comp-cstr.el
+++ b/lisp/emacs-lisp/comp-cstr.el
@@ -37,9 +37,9 @@
(require 'cl-lib)
-(defconst comp--typeof-types (mapcar (lambda (x)
- (append x '(t)))
- cl--typeof-types)
+(defconst comp--typeof-builtin-types (mapcar (lambda (x)
+ (append x '(t)))
+ cl--typeof-types)
;; TODO can we just add t in `cl--typeof-types'?
"Like `cl--typeof-types' but with t as common supertype.")
@@ -230,7 +230,7 @@ Return them as multiple value."
(cl-loop
named outer
with found = nil
- for l in comp--typeof-types
+ for l in comp--typeof-builtin-types
do (cl-loop
for x in l
for i from (length l) downto 0
@@ -273,7 +273,7 @@ Return them as multiple value."
(cl-loop
with types = (apply #'append typesets)
with res = '()
- for lane in comp--typeof-types
+ for lane in comp--typeof-builtin-types
do (cl-loop
with last = nil
for x in lane
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 0bd96806ef: * Rename `comp--typeof-builtin-types',
Andrea Corallo <=