I think you can either use either defrecord or factory-function + metadata: http://bitumenframework.blogspot.com/2010/10/typed-abstractions-in-clojure.html
Regards, Shantanu On Nov 27, 4:24 pm, Sunil S Nandihalli <[email protected]> wrote: > Hello, > I would like to know if it is possible to find out the name of the > structure from its instance. my attempt to use the function class is not > giving me any useful info. It kept saying that it is a structmap and > nothing more... > Regards, > Sunil -- 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
