Hello! On 28 Jan., 21:26, Raoul Duke <rao...@gmail.com> wrote: [...] > (if (vec final-answer) ...) [...]
I think you expect "nil punning" which was dropped before the 1.0 release. Think like this: If you have an empty basket, is that nothig or still an empty basket? > (when '() 'yay) yay The idiomatic way to test for emtyness is wrapping in #'seq: > (when (seq '()) 'yay) nil Whereas in a language with nil punning (CL): > (when '() 'yay) NIL Regards dhl -- 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 Note that posts from new members are moderated - please be patient with your first post. 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