Re: struct type info

2010-11-27 Thread Shantanu Kumar
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 wrote: > Hello, >  I would like to know if it is possible to find out the name of t

Re: struct type info

2010-11-27 Thread David Powell
Hello Sunil, Saturday, November 27, 2010, 11:24:58 AM, you 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 > no

Re: struct type info

2010-11-27 Thread Chris Perkins
On Nov 27, 6:24 am, Sunil S Nandihalli 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... > Regard

struct type info

2010-11-27 Thread Sunil S Nandihalli
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 sub