On Jan 22, 3:51 pm, Raoul Duke <rao...@gmail.com> wrote: > On Fri, Jan 22, 2010 at 3:20 PM, Raoul Duke <rao...@gmail.com> wrote: > > fixed version, uses explicit type name i guess. > > augh, no, that doesn't work. i think i was getting screwed by previous > things i'd eval'd in the repl or something. beuller? thanks.
While inside the deftype you can think of the type as a java class. Once the deftype has been executed the name is used to defn a constrictor funtion. So you just need to instead use (new Trec (+ 1 v)). -- 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