help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

cl-macs: case with a nil value


From: Glenn Morris
Subject: cl-macs: case with a nil value
Date: Thu, 21 Aug 2003 16:52:45 +0100
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

(case nil
  (nil "nil")
  (t "t"))

-> "t"

(case nil
  ((nil) "nil")
  (t "t"))

-> "nil"

Does that seem weird to anyone else? Am I misunderstanding the magic
nature of "nil" (it's a list, it's an atom, it slices, it dices, ...)
again?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]