Next: Introduction, Previous: (dir), Up: (dir) [Contents][Index]
This is the external-symbol-not-found Reference Manual, version 0.0.1, generated automatically by Declt version 3.0 "Montgomery Scott" on Tue Dec 22 13:25:28 2020 GMT+0.
• Introduction | What external-symbol-not-found is all about | |
• Systems | The systems documentation | |
• Files | The files documentation | |
• Packages | The packages documentation | |
• Definitions | The symbols documentation | |
• Indexes | Concepts, functions, variables and data types |
This is a minor portability library that allows the user to check if a condition
has been signaled due to trying to read a non-existing or non-external symbol of
a package when the foo:bar
notation was used.
These two test cases illustrate the condition that would be signaled:
(make-package 'foo :use nil)
(read-from-string "foo:bar")
(make-package 'foo :use nil)
(intern "BAR" 'foo)
(read-from-string "foo:bar")
Note that EXTERNAL-SYMBOL-NOT-FOUND
is a Common Lisp type but it is not a
Common Lisp condition type.
You cannot create new instances of this condition, but you can
refer to already existing instances created by your Lisp implementation using
this type; most importantly, this type is valid for usage in HANDLER-CASE
,
HANDLER-BIND
and other similar macros where it is required to specify a type
for later type matching.
Implemented for and tested on:
On all other implementations, the system will load, but using any of this project's functionality will signal an error.
Adding support for other implementations is easy. If you do not want to do it yourself, please make an issue on this project along with the output of the following Lisp form:
(handler-case (progn
(unless (find-package 'temp)
(make-package 'temp :use nil))
(read-from-string "temp:symbol"))
(error (e)
(fresh-line)
(format t "~A~%" e)
(describe e)
(describe (class-of e))))
EXTERNAL-SYMBOL-NOT-FOUND
- denotes conditions signaled when the Lisp
reader encountered a non-existing external symbol of a package.EXTERNAL-SYMBOL-NOT-FOUND-P
- returns true iff the condition
is of type EXTERNAL-SYMBOL-NOT-FOUND
.EXTERNAL-SYMBOL-NOT-FOUND-SYMBOL-NAME
- retrieves the symbol name
from the condition instance.EXTERNAL-SYMBOL-NOT-FOUND-PACKAGE
- retrieves the package object
from the condition instance.Unlicense. Do whatever you want with it, the code is here to be useful.
Next: Files, Previous: Introduction, Up: Top [Contents][Index]
The main system appears first, followed by any subsystem dependency.
• The external-symbol-not-found system |
Michał "phoe" Herda <phoe@teknik.io>
Unlicense
Portability library for detecting reader errors coming from reading non-existing or non-external symbols in packages
0.0.1
Files are sorted by type and then listed depth-first from the systems components trees.
• Lisp files |
• The external-symbol-not-found.asd file | ||
• The external-symbol-not-found/package.lisp file | ||
• The external-symbol-not-found/external-symbol-not-found.lisp file |
Next: The external-symbol-not-found/package․lisp file, Previous: Lisp files, Up: Lisp files [Contents][Index]
external-symbol-not-found.asd
external-symbol-not-found (system)
Next: The external-symbol-not-found/external-symbol-not-found․lisp file, Previous: The external-symbol-not-found․asd file, Up: Lisp files [Contents][Index]
external-symbol-not-found (system)
package.lisp
Previous: The external-symbol-not-found/package․lisp file, Up: Lisp files [Contents][Index]
package.lisp (file)
external-symbol-not-found (system)
external-symbol-not-found.lisp
test (function)
Next: Definitions, Previous: Files, Up: Top [Contents][Index]
Packages are listed by definition order.
• The external-symbol-not-found package |
package.lisp (file)
common-lisp
test (function)
Definitions are sorted by export status, category, package, and then by lexicographic order.
• Exported definitions | ||
• Internal definitions |
Next: Internal definitions, Previous: Definitions, Up: Definitions [Contents][Index]
• Exported functions | ||
• Exported types |
Next: Exported types, Previous: Exported definitions, Up: Exported definitions [Contents][Index]
Previous: Exported functions, Up: Exported definitions [Contents][Index]
Previous: Exported definitions, Up: Definitions [Contents][Index]
• Internal functions |
Previous: Internal definitions, Up: Internal definitions [Contents][Index]
Previous: Definitions, Up: Top [Contents][Index]
• Concept index | ||
• Function index | ||
• Variable index | ||
• Data type index |
Next: Function index, Previous: Indexes, Up: Indexes [Contents][Index]
Jump to: | E F L |
---|
Jump to: | E F L |
---|
Next: Variable index, Previous: Concept index, Up: Indexes [Contents][Index]
Jump to: | E F T |
---|
Jump to: | E F T |
---|
Next: Data type index, Previous: Function index, Up: Indexes [Contents][Index]
Previous: Variable index, Up: Indexes [Contents][Index]
Jump to: | E P S T |
---|
Jump to: | E P S T |
---|