On Thu, Jan 20, 2011 at 1:02 AM, Sunil S Nandihalli
<sunil.nandiha...@gmail.com> wrote:
> Hello everybody,
> when we give an empty vector of seq-exprs to doseq it returns the value of
> the last s-expression.. but returns nil when the
> vector-of-seq-exprs is not empty.. may be this is the expected behaviour ..
> but the documentation states otherwise ..

Yeah, that looks like a bug (either in the documentation or the code):
   (doseq [] 1) => 1

-John

-- 
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

Reply via email to