yea true, I guess it is harmless though .. but a bug nevertheless...

On Thu, Jan 20, 2011 at 2:06 PM, John Szakmeister <[email protected]>wrote:

> On Thu, Jan 20, 2011 at 1:02 AM, Sunil S Nandihalli
> <[email protected]> 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 [email protected]
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> [email protected]<clojure%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to