On Fri, May 20, 2011 at 1:55 PM, Fogus <mefo...@gmail.com> wrote:

> In the alpha7 release the defrecord macro was changed to generate a
> couple of auxiliary functions (for a record R) named map->R and ->R.
> The first takes a map and returns a function of its contents.  The
> second takes the same number of arguments as the record constructor.
> It's the definition of this second function that is reporting an
> error.  It's easy enough to fix, but I guess the question is should it
> be fixed?  That is, do people define records with 19+ fields?  Does
> this pose a problem for existing code?
>
> :F


Java allows classes to define up to 255 fields right? Seems like
defrecord/deftype should at least support that limit. The use case would be
for certain code generation scenarios.

David

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