actually there is a function called

counted?

Sunil.

On Thu, Sep 9, 2010 at 8:59 PM, Nicolas Oury <nicolas.o...@gmail.com> wrote:

> 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 <m...@kotka.de> wrote:
> > Hi,
> >
> > On 9 Sep., 16:45, Nicolas Oury <nicolas.o...@gmail.com> 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 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<clojure%2bunsubscr...@googlegroups.com>
> > 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 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<clojure%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
>

-- 
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

Reply via email to