On Sat, Aug 7, 2010 at 6:39 PM, gary ng <[email protected]> wrote: > On Sat, Aug 7, 2010 at 6:35 PM, Michael Gardner <[email protected]> wrote: >> (partition-by #(when (even? %) (gensym)) > nice, why do I need the gensym ?
ah, the gensym is for 'break'. but why does it behave like this user=> (partition-by #(when (even? %) (gensym)) [1 2 3 7 5 4 1] ) ((1) (2) (3 7 5) (4) (1)) -- 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
