Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Karsten Poeck
ansi-test
Commits
fe62a2a9
Commit
fe62a2a9
authored
Feb 26, 2006
by
pfdietz
Browse files
Add list of names for 'safe' unary predicates -- predicates that can be applied to any lisp object.
parent
035c6be3
Changes
1
Hide whitespace changes
Inline
Side-by-side
ansi-tests/cl-symbol-names.lsp
View file @
fe62a2a9
...
...
@@ -1002,6 +1002,14 @@
(defparameter *cl-symbols-vector*
(make-array (length *cl-symbols*) :initial-contents *cl-symbols*))
;;; Symbols that name unary predicate that can be safely applied to any object
(defparameter *cl-safe-predicates*
'
(
arrayp
atom
bit
-
vector
-
p
characterp
compiled
-
function
-
p
complexp
consp
floatp
functionp
hash
-
table
-
p
keywordp
listp
not
null
numberp
packagep
pathnamep
random
-
state
-
p
rationalp
readtablep
realp
simple
-
bit
-
vector
-
p
simple
-
string
-
p
simple
-
vector
-
p
streamp
stringp
symbolp
vectorp
))
;;;
Symbols
classified
by
their
kind
in
the
spec
(
defparameter
*
cl
-
function
-
symbols
*
'(
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment