Thanks for the responses.

On 3 May 2011 17:39, Steve Miner <[email protected]> wrote:
>
> On May 3, 2011, at 7:08 AM, David Jagoe wrote:
>
> For your specific purpose, I would be careful about using a map as an 
> "entity" specification. If the order is significant, a vector of field 
> specifiers would be better.  Instead of taking a map as the second argument 
> to defentity, you could make it variadic like (defmacro defentity [ent & 
> specs] ...).

Yes, that looks like the solution.


Thanks again.

David

>
> --
> 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

-- 
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

Reply via email to