Hi,

what is the preferred way to find sub-seqs in a seq? I am trying to convert

[:a :b :c :d :a :b :c :d :a :b :c]

into

((:a) (:b :c) (:a :d) (:b :c) (:a))

using the sub-seq (:b :c) instead of positions.

partition, partition-by and the like all look at one element at a time.
What I need is a search based on seqs. Are there functions that support
such a search / split?

Uli

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