I don't think so. See http://groups.google.com/group/clojure/browse_thread/thread/74d430f8e4353725/ab7fe2144e09b56a?hl=en&lnk=gst&q=instance+defstruct#ab7fe2144e09b56a
(and other threads on this issue too, IIRC.) Cheers, Jason On Feb 21, 6:08 am, Mark Volkmann <r.mark.volkm...@gmail.com> wrote: > Is there a way to test whether a given object is an instance of a > given structmap? > For example, > > (defstruct dog-struct :name :breed) > > (def my-dog (struct dog-struct "Dasher" "whippet")) > > (when (some-function my-dog dog-struct) > (println "It's a dog!")) > > -- > R. Mark Volkmann > Object Computing, Inc. --~--~---------~--~----~------------~-------~--~----~ 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 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 -~----------~----~----~----~------~----~------~--~---