I was actually suprised to find that the empty list is a symbol, the same one referred to by nil
. I thought they would refer to some special singular ‘nil’ value with its own type.
(symbolp '()) ; ==> t
(eq nil '()) ; ==> t
(eq 'nil '()) ; ==> t
(eq 'nil nil) ; ==> t
(symbol-name '()) ; ==> "nil"
I love this package. It’s kind of crazy getting succinct text-only answers to questions I have about my code, without ever leaving Emacs. It feels like Stack Overflow on steroids, with no ads or distractions, and all the interactivity of Emacs available in an
org
document that talks back to me intelligently. The future feels best in Emacs.