I was wondering about passing a string to check the existence of a symbol, so I created the following function,
but all the answers were :INTERNAL, so it was useless.
I understand the reason, but does anyone know why lisp works this way?
(defun find-foo (s)
(find-symbol (symbol-name s)))
(defun find-bar (s)
(find-symbol (string s)))
- (find-foo ‘never-used-symbol)
NEVER-USED-SYMBOL
:INTERNAL - (find-bar ‘still-unused-symbol)
STILL-UNUSED-SYMBOL
:INTERNAL
New contributor
user is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.