2022-05-16 08:32:15 |
Philippe de Rochambeau |
description |
Hello,
according to https://stackoverflow.com/questions/7894548/why-are-uninterned-symbols-used-for-package-names-and-exports-in-common-lisp/7894917#7894917, prefixing package names with #: uninterns them. In SBCL 2.2.4 on MacOSX 12.3.1, packages are uninterned whether you prefix #: to their names or not:
* *package*
#<PACKAGE "COMMON-LISP-USER">
* (defpackage bar)
#<PACKAGE "BAR">
* (find-symbol "bar")
NIL
NIL
* *package*
#<PACKAGE "COMMON-LISP-USER">
* (defpackage #:bar)
#<PACKAGE "BAR">
* (find-symbol "bar")
NIL
NIL |
Hello,
according to https://stackoverflow.com/questions/7894548/why-are-uninterned-symbols-used-for-package-names-and-exports-in-common-lisp/7894917#7894917, prefixing package names with #: uninterns them. In SBCL 2.2.4 on MacOSX 12.3.1, packages are uninterned whether you prefix #: their names with #: or not:
* *package*
#<PACKAGE "COMMON-LISP-USER">
* (defpackage bar)
#<PACKAGE "BAR">
* (find-symbol "bar")
NIL
NIL
* *package*
#<PACKAGE "COMMON-LISP-USER">
* (defpackage #:bar)
#<PACKAGE "BAR">
* (find-symbol "bar")
NIL
NIL |
|