On Sun, Mar 8, 2009 at 6:13 PM, Dan <redalas...@gmail.com> wrote:

>
> > I'm pretty sure structs are only appropriate for when you need to eek
> > the absolute last iota of performance out of a collection, in which case
> > they can provide greater speed than maps. But since the list of keys is
> > fixed, it means it's more effort to add or rename a key than it is with
> > a map.
>
> Not really, I can assoc and dissoc as I wish and leave blank values I
> wish. Any function can treat it as a map.
>

Close... you can assoc new keys into a struct instance, but you can't dissoc
any of the basis keys.

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