On Sat, Aug 21, 2010 at 10:32 AM, Nicolas Oury <nicolas.o...@gmail.com> wrote: > I am not sure but I think filter will always output a sequence. filter is lazy but the function like (byte-array ..) would still realize the sequence(i.e. list created) then copy.
(byte-array (count (filter ...)) (filter ...)) should work, at the expense of filter twice. -- 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