Louis on Nostr: Why is an uninterned symbol used for IN-PACKAGE and not a keyword or a quoted symbol? ...
Why is an uninterned symbol used for IN-PACKAGE and not a keyword or a quoted symbol?
(in-package #:my-package) vs
(in-package :my-package) vs
(in-package 'my-package) ?
In what other cases would I use an uninterned symbol instead of a keyword symbol?
#CommonLisp
Published at
2023-08-05 23:28:40Event JSON
{
"id": "87a49a0ee9ce9b9ea71457b9710d566cb6fc95618b1c67ce844733b60d850866",
"pubkey": "584b9282fbc3d56bde321066766c0ebca3c5508e8d1596a8c7f0a15ca830571c",
"created_at": 1691278120,
"kind": 1,
"tags": [
[
"t",
"commonlisp"
],
[
"proxy",
"https://emacs.ch/users/louis/statuses/110839602885903647",
"activitypub"
]
],
"content": "Why is an uninterned symbol used for IN-PACKAGE and not a keyword or a quoted symbol?\n\n(in-package #:my-package) vs\n(in-package :my-package) vs\n(in-package 'my-package) ?\n\nIn what other cases would I use an uninterned symbol instead of a keyword symbol?\n\n#CommonLisp",
"sig": "537fc5bc810aceec091e55b662f40498348077cc00b1e32d1abd249e630cab44bde4b12cda981a7905e5eaba5860dc79e0f8bc94f694aa43c3d787ffbdf8bae1"
}