On Mon, Oct 26, 2009 at 1:09 AM, Chouser <chou...@gmail.com> wrote: > (count-nodes "abcde") > ; 6
Yikes. Maybe special-casing strings would be best: change (seqable? x) into (and (seqable? x) (not (string? x))). I don't know if Seqable is synonymous with that; might there be other seqable?s that aren't Seqables? DOM nodes and some other Java objects perhaps? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---