forked from dmitryvk/sbcl-win32-threads
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
some cleanups related to the type hackathon in 0.6.11.13.. ..restored :TYPE declaration for FORMAT slot in NUMERIC-TYPE ..restored :TYPE declaration for TYPES slot in COMPOUND-TYPE ..moved LIST, CONS, and NULL to a more logical point in *BUILT-IN-CLASSES* ..rearranged CTYPE, ANY/TYPE, and EVERY/TYPE to share code ..added tests related to CTYPE of COMPOUND-TYPE ..redid INTERSECTION :SIMPLE-SUBTYPEP to share EVERY/TYPE too added tests for ANY/TYPE and EVERY/TYPE, fixed EVERY/TYPE moved SWAPPED-ARGS-FUN earlier to facilitate inlining, putting it in SB!INT so it can go in early-extensions.lisp deleted unused LETF and LETF*
- Loading branch information
William Harold Newman
committed
Mar 16, 2001
1 parent
4ea1b7a
commit f0670f2
Showing
11 changed files
with
155 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
;;;; This software is part of the SBCL system. See the README file for | ||
;;;; more information. | ||
;;;; | ||
;;;; While most of SBCL is derived from the CMU CL system, the test | ||
;;;; files (like this one) were written from scratch after the fork | ||
;;;; from CMU CL. | ||
;;;; | ||
;;;; This software is in the public domain and is provided with | ||
;;;; absolutely no warranty. See the COPYING and CREDITS files for | ||
;;;; more information. | ||
|
||
(in-package "CL-USER") | ||
|
||
(locally | ||
(declare (notinline mapcar)) | ||
(mapcar (lambda (args) | ||
(destructuring-bind (obj type-spec result) args | ||
(flet ((matches-result? (x) | ||
(eq (if x t nil) result))) | ||
(assert (matches-result? (typep obj type-spec))) | ||
(assert (matches-result? (sb-kernel:ctypep | ||
obj | ||
(sb-kernel:specifier-type | ||
type-spec))))))) | ||
'((nil (or null vector) t) | ||
(nil (or number vector) nil) | ||
(12 (or null vector) nil) | ||
(12 (and (or number vector) real) t)))) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters