Perfect!
On Aug 5, 1:51 pm, Mark Addleman <[email protected]> wrote:
> Try partition-all in clojure.contrib.seq-utils
>
> On Aug 5, 10:38 am, Sean Devlin <[email protected]> wrote:
>
>
>
> > Hey all,
> > I'm looking for a variation on partition.
>
> > user=>(def my-vec [:a :b :c :d :e])
>
> > ;normal behavior
> > user=>(partition 2 my-vec)
> > ((:a :b) (:c :d))
>
> > The behavior I want is
> > user=>(psuedo-partition 2 my-vec)
> > ((:a :b) (:c :d) (:e))
>
> > Any suggestions?
> > Sean- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---