On Saturday, June 11, 2016 at 6:55:03 PM UTC-4, Matching Socks wrote:
>
> pop isn't a sequence function.  
>
> Check out the manual: 
> http://clojure.github.io/clojure/clojure.core-api.html#clojure.core/pop
>
> You may use first/rest on any sequence, but pop does something more 
> special(ized).
>

Well, I see push/pop/peek as like conj, except not applicable to 
non-ordered (set, map) or non-arbitrarily-ordered (sorted-set, sorted-map) 
collections. Should work with all linear arbitrarily-ordered 
order-preserving colls that have an efficient trio of add/examine/drop-one 
at one end or the other.

-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to