Re: Help: Java code works, Clojure code doesn't

2009-05-05 Thread David Chamberlin
It sounds like you maybe haven't included all the necessary stuff in your classpath. If you are testing in REPL, then you need to include everything you need in the classpath the the invoked JVM, for example: java -classpath my-jar-file-containing-DsrlPassport.jar;clojure.jar clojure.main On

Re: special handling of :type in meta data

2009-04-27 Thread David Chamberlin
Konrad, Thanks for the guidance, this makes a lot of sense - I was planning to provide a method for printing these objects in the future anyway. A bit of background: I'm trying to put together a simple framework that uses structures to represent business-domain objects read from a database, simi

special handling of :type in meta data

2009-04-26 Thread David Chamberlin
I think I'm seeing some strange effects of some special handling of :type in meta-data. I'm trying to create a structure map with meta data that is also a structure map. The meta-data includes the :type key, but I see an error when I try to do this: ( def sm ( create-struct :type ) ) ( def so (