• 0 Posts
  • 2 Comments
Joined 11 months ago
cake
Cake day: October 16th, 2023

help-circle
  • 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.


  • soundslogical@alien.topBtoEmacsnil or 'nil once worried me
    link
    fedilink
    English
    arrow-up
    1
    ·
    11 months ago

    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"