> as I said, structs are an optimization on maps, that optimization > doesn't work for empty structs, so empty structs "of course" don't > make sense
For me structs are more than just optimizations. They add documentary information to the map, which is a great feature for readability. Optimization is nice too, but I use them only because of their self-documentary style in combination with struct-map. Anyway, thanks for the hint to deftype. That sounds even better than defstruct. -- 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