The external-symbol-not-found Reference Manual

Table of Contents

Next: , Previous: , Up: (dir)   [Contents][Index]

The external-symbol-not-found Reference Manual

This is the external-symbol-not-found Reference Manual, version 0.0.1, generated automatically by Declt version 2.4 "Will Decker" on Wed Jun 20 11:45:13 2018 GMT+0.


Next: , Previous: , Up: Top   [Contents][Index]

1 Introduction

EXTERNAL-SYMBOL-NOT-FOUND

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.

Supported implementations

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))))

Exports

License

Unlicense. Do whatever you want with it, the code is here to be useful.


Next: , Previous: , Up: Top   [Contents][Index]

2 Systems

The main system appears first, followed by any subsystem dependency.


Previous: , Up: Systems   [Contents][Index]

2.1 external-symbol-not-found

Author

MichaƂ "phoe" Herda <phoe@teknik.io>

License

Unlicense

Description

Portability library for detecting reader errors coming from reading non-existing or non-external symbols in packages

Version

0.0.1

Source

external-symbol-not-found.asd (file)

Components

Next: , Previous: , Up: Top   [Contents][Index]

3 Files

Files are sorted by type and then listed depth-first from the systems components trees.


Previous: , Up: Files   [Contents][Index]

3.1 Lisp


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.1 external-symbol-not-found.asd

Location

external-symbol-not-found.asd

Systems

external-symbol-not-found (system)


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.2 external-symbol-not-found/package.lisp

Parent

external-symbol-not-found (system)

Location

package.lisp

Packages

external-symbol-not-found


Previous: , Up: Lisp files   [Contents][Index]

3.1.3 external-symbol-not-found/external-symbol-not-found.lisp

Dependency

package.lisp (file)

Parent

external-symbol-not-found (system)

Location

external-symbol-not-found.lisp

Exported Definitions
Internal Definitions

test (function)


Next: , Previous: , Up: Top   [Contents][Index]

4 Packages

Packages are listed by definition order.


Previous: , Up: Packages   [Contents][Index]

4.1 external-symbol-not-found

Source

package.lisp (file)

Use List

common-lisp

Exported Definitions
Internal Definitions

test (function)


Next: , Previous: , Up: Top   [Contents][Index]

5 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


Next: , Previous: , Up: Definitions   [Contents][Index]

5.1 Exported definitions


Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.1 Functions

Function: external-symbol-not-found-p CONDITION
Package

external-symbol-not-found

Source

external-symbol-not-found.lisp (file)

Function: external-symbol-not-found-package CONDITION
Package

external-symbol-not-found

Source

external-symbol-not-found.lisp (file)

Function: external-symbol-not-found-symbol-name CONDITION
Package

external-symbol-not-found

Source

external-symbol-not-found.lisp (file)


Previous: , Up: Exported definitions   [Contents][Index]

5.1.2 Types

Type: external-symbol-not-found ()
Package

external-symbol-not-found

Source

external-symbol-not-found.lisp (file)


Previous: , Up: Definitions   [Contents][Index]

5.2 Internal definitions


Previous: , Up: Internal definitions   [Contents][Index]

5.2.1 Functions

Function: test ()
Package

external-symbol-not-found

Source

external-symbol-not-found.lisp (file)


Previous: , Up: Top   [Contents][Index]

Appendix A Indexes


Next: , Previous: , Up: Indexes   [Contents][Index]

A.1 Concepts

Jump to:   E   F   L  
Index Entry  Section

E
external-symbol-not-found.asd: The external-symbol-not-found<dot>asd file
external-symbol-not-found/external-symbol-not-found.lisp: The external-symbol-not-found/external-symbol-not-found<dot>lisp file
external-symbol-not-found/package.lisp: The external-symbol-not-found/package<dot>lisp file

F
File, Lisp, external-symbol-not-found.asd: The external-symbol-not-found<dot>asd file
File, Lisp, external-symbol-not-found/external-symbol-not-found.lisp: The external-symbol-not-found/external-symbol-not-found<dot>lisp file
File, Lisp, external-symbol-not-found/package.lisp: The external-symbol-not-found/package<dot>lisp file

L
Lisp File, external-symbol-not-found.asd: The external-symbol-not-found<dot>asd file
Lisp File, external-symbol-not-found/external-symbol-not-found.lisp: The external-symbol-not-found/external-symbol-not-found<dot>lisp file
Lisp File, external-symbol-not-found/package.lisp: The external-symbol-not-found/package<dot>lisp file

Jump to:   E   F   L  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.2 Functions

Jump to:   E   F   T  
Index Entry  Section

E
external-symbol-not-found-p: Exported functions
external-symbol-not-found-package: Exported functions
external-symbol-not-found-symbol-name: Exported functions

F
Function, external-symbol-not-found-p: Exported functions
Function, external-symbol-not-found-package: Exported functions
Function, external-symbol-not-found-symbol-name: Exported functions
Function, test: Internal functions

T
test: Internal functions

Jump to:   E   F   T  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.3 Variables


Previous: , Up: Indexes   [Contents][Index]

A.4 Data types

Jump to:   E   P   S   T  
Index Entry  Section

E
external-symbol-not-found: The external-symbol-not-found system
external-symbol-not-found: The external-symbol-not-found package
external-symbol-not-found: Exported types

P
Package, external-symbol-not-found: The external-symbol-not-found package

S
System, external-symbol-not-found: The external-symbol-not-found system

T
Type, external-symbol-not-found: Exported types

Jump to:   E   P   S   T