When IS an appropriate time to use '()? It's in the language, so I assume there must be at least one good use case.
Recently, I was writing a function that yields a sequence of all the subsequences of a given sequence, e.g., (subseqs '(1 2 3)) -> (nil (1) (2) (3) (1 2) (1 3) (2 3) (1 2 3)) I had a very hard time deciding whether nil or '() belonged there (eventually I decided on nil). --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---