On Thu, Jun 28, 2012 at 4:28 PM, Meikel Brandmeyer <m...@kotka.de> wrote:

> Hi,
>
> Am 28.06.2012 um 20:52 schrieb Tassilo Horn:
>
> > And yes, there are some counter examples like `count` and `last`...
>
> last is not a counterexample. last is a sequence function, which acts on
> seqs. It just calls seq on its argument so you may pass in a vector (or
> anything seqable). The vector equivalent of last is peek, btw.
>

Well, peek is a collection operation. IPersistentStack on the JVM & simply
IStack in ClojureScript.

I think nth & count are really the only exceptions - collection operations
that happen to work on seqs. It's quite clear in the ClojureScript source.

David

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