Hi,

Am 07.07.2010 um 15:47 schrieb Pedro Henriques dos Santos Teixeira:

> Are there any design guidelines for choosing between defrecords and
> defstruct, when one wants a map with type?
> 
> I started with defrecord, but feels like I should switch to defstruct
> to avoid these complex host integration issues.

You should stay with defrecord. It will replace defstruct eventually. There are 
no complex host integration issues. It's just that you have to understand how 
clojure compiles code and that what you want to do requires you to qualify your 
classname. Is there a reason, why you can't put the defrecord simply before the 
testing?

Sincerely
Meikel

-- 
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
Note that posts from new members are moderated - please be patient with your 
first post.
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

Reply via email to