Thank you very much. Never looked closely at count definition.
I assumed it was a forawrd to .count of Counted, which explains my problem. I kind of remembered the O(1) of Counted and get mixed up. Best regards, Nicolas. On Thu, Sep 9, 2010 at 3:50 PM, Meikel Brandmeyer <[email protected]> wrote: > Hi, > > On 9 Sep., 16:45, Nicolas Oury <[email protected]> wrote: > >> is it a way to do so? > > You can check the Counted marker interface for clojure collections. > But this won't cover Strings etc. More information here: > http://github.com/clojure/clojure/blob/master/src/jvm/clojure/lang/RT.java#L489 > > Sincerely > Meikel > > -- > 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 -- Sent from an IBM Model M, 15 August 1989. -- 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
