Re: question about deftype usage

2009-05-25 Thread Feng
On May 25, 6:47 am, Konrad Hinsen wrote: > On 24.05.2009, at 07:01, Feng wrote: > > > clojure.contrib.types/deftype assumes data to tag are created fresh > > with no meta data. Would it be useful to have it update meta data if > > data are already initialized with meta data, e.g. from file or d

Re: question about deftype usage

2009-05-25 Thread Konrad Hinsen
On 24.05.2009, at 07:01, Feng wrote: > clojure.contrib.types/deftype assumes data to tag are created fresh > with no meta data. Would it be useful to have it update meta data if > data are already initialized with meta data, e.g. from file or db with > other meta data, but :type ::constructor are

Re: question about deftype usage

2009-05-23 Thread Feng
On May 24, 1:01 am, Feng wrote: > Hi, > > clojure.contrib.types/deftype assumes data to tag are created fresh > with no meta data. Would it be useful to have it update meta data if > data are already initialized with meta data, e.g. from file or db with > other meta data, but :type ::constructo

question about deftype usage

2009-05-23 Thread Feng
Hi, clojure.contrib.types/deftype assumes data to tag are created fresh with no meta data. Would it be useful to have it update meta data if data are already initialized with meta data, e.g. from file or db with other meta data, but :type ::constructor are too program specific to be stored in the