Looks like a ?bug? has crept into defrecord somewhere - I know that there is 
a limit to the number of params that a fn can take, but is it intentional 
that the same limit applies to the number of slots that a record can have ? 
:

[jules@megalodon dada]$ java -jar 
~/.m2/repository/org/clojure/clojure/1.3.0-alpha6/clojure-1.3.0-alpha6.jar
Clojure 1.3.0-alpha6
user=> (defrecord Foo [a b c d e f g h i j k l m n o p q r s t])
user.Foo
user=>  

[jules@megalodon dada]$ java -jar 
~/.m2/repository/org/clojure/clojure/1.3.0-alpha7/clojure-1.3.0-alpha7.jar
Clojure 1.3.0-alpha7
user=> (defrecord Foo [a b c d e f g h i j k l m n o p q r s t])
CompilerException java.lang.RuntimeException: Can't specify more than 20 
params, compiling:(NO_SOURCE_PATH:1) 
user=> 

sorry to the bearer of bad tidings :-(

Jules

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