Possibly the most relevant Clojure ticket in JIRA related to your question is: http://dev.clojure.org/jira/browse/CLJ-394
If you click the "All" tab at the top of the comments, you can see a more full history of the changes made to the ticket's description over time. When it was originally created, it was requesting adding predicates to test whether something was a record created with defrecord, or a type created with deftype. Later due to Rich Hickey's comment "I think this should do record? only. type? conveys no semantics, and the things are not types themselves." it was changed to add the new predicate record? only. I couldn't find any tickets related to protocols. Some other Clojure tickets in JIRA that are not quite as relevant to your question, in that they are for adding predicates for more specific types than you ask about: http://dev.clojure.org/jira/browse/CLJ-982 http://dev.clojure.org/jira/browse/CLJ-1298 http://dev.clojure.org/jira/browse/CLJ-1078 On Sun, Jan 4, 2015 at 10:16 AM, fabiot <fab...@gmail.com> wrote: > Hi, > > is there a quick way of recognising Clojure-generated classes (including > protocols and datatypes) without reading debug information, like some > annotation or marker interface? I couldn't find any so far. I'm looking for > this because I'd like to perform some instrumentation only > Clojure-generated classes. > > If there's not such marking yet, would it make sense to consider it? Would > there be any drawbacks? > > TIA > > Fabio > > -- > 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 > --- > You received this message because you are subscribed to the Google Groups > "Clojure" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to clojure+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- 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 --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.