On Wed, Dec 22, 2010 at 12:53 PM, Nicolas Buduroi <nbudu...@gmail.com>wrote:
> Hi, I've been working lately on my first project (https://github.com/ > budu/lobos) that use protocols. Up until now, it's been quite > infuriating, I can't stop getting seemingly random "No implementation > of method" exceptions and I really don't understand why Working with protocols/deftype/defrecprd generally requires that you recompile the whole file when you make a modification. If you stick to that you'll avoid a lot of confusing REPL states. Consider: (defn create-foo [] (Foo.)) (Foo.) is a Java method call determined at compile-time. If you change the definition of the Foo type/record, create-foo will be out of date. Default constructor fns could alleviate this but I think some design/modularity issues need to be hashed out. 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