ike this the other day.
On Wed, Aug 5, 2009 at 6:43 PM, Benjamin Stewart wrote:
> See partition-all in seq-utils.
>
> user=> (partition-all 2 my-vec)
> ((:a :b) (:c :d) (:e))
>
>
> On Wed, Aug 5, 2009 at 6:38 PM, Sean Devlin wrote:
>>
>> Hey all,
>> I'm
See partition-all in seq-utils.
user=> (partition-all 2 my-vec)
((:a :b) (:c :d) (:e))
On Wed, Aug 5, 2009 at 6:38 PM, Sean Devlin 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)
I've been playing along at home for awhile now, but this example hit
close to home -- I've written variations on this code countless times
in perl, and figured I'd take a stab at clojuring it while also taking
advantage of clojure.contrib.seq-utils's very useful to the matter at
hand group-by. I'