On Fri, Nov 5, 2010 at 8:23 AM, ataggart <alex.tagg...@gmail.com> wrote:

> Do you know of a reason why (deftype [foo & more]) isn't read in as
> having two fields where the second is a seq?
>

deftype is low level and exposes limitations of the host and constructors
should not be exposed directly (add a new field, change the field ordering
and you'll have to fix all the constructor calls) but through a factory fn.


Barring that, would it be reasonable to disallow & as a valid field
> name, thus preventing this class of error?
>

It sounds reasonable.

Christophe

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