It's a sequence operation and plenty useful. On Thu, Jun 28, 2012 at 4:56 PM, Tassilo Horn <tass...@member.fsf.org>wrote:
> Meikel Brandmeyer <m...@kotka.de> writes: > > Hi Meikel, > > >> 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. > > Yes, exactly. If you need to access the last element, you'd be better > off with a vector, so IMHO there's no reason for `last` to exist (except > for backwards compatibility maybe). > > Bye, > Tassilo > > -- > 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 > -- 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