On 24/08/12 11:32, Jim - FooBar(); wrote:
Hi all,

It seems that trying to instantiate a new record via its own methods fails!!! example:

(defrecord Foo [a b c]
Bar
(update-position [this np] (Foo. a np c)))

No matching ctor found !

There must be a way to do this without going round and round in functions...

Jim

sorry my bad!!! I was missing an argument...

Jim

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