On Wed, Nov 10, 2010 at 4:01 PM, Ken Wesson <kwess...@gmail.com> wrote: > Oh, and another difference: the frequencies implementation handles nil > in the input. The fully-lazy one also does. The loop/recur will screw > up if the input starts with nil. Changing the literal nil in the loop > initial bindings to (Object.) will fix it though.
Actually the fully-lazy one might be best having the [nil] near the end changed to [(Object.)] as well, to be sure. -- 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