On Mar 23, 2009, at 23:11, Meikel Brandmeyer wrote:
> This is not correct. defmulti may take any of Clojure's
> reference types containing the hierarchy. So it doesn't
> need to be a Var. A Ref, an Atom or an Agent are also
> possible.
Thanks for pointing this out. Here comes a corrected patch!
Hi,
Am 23.03.2009 um 11:17 schrieb Konrad Hinsen:
I added one more fix to this patch:
8) The docstring of defmulti now says that the optional hierarchy
argument must be a var referring to a hierarchy, rather than the
hierarchy itself.
This is not correct. defmulti may take any of Clojure's
r
The attached patch to clojure.core implements an optional universal
parent type for Clojure hierarchies and defines such a type for the
global default hierarchy. With this patch applied, Clojure passes the
test_clojure and test_contrib test suites in clojure.contrib. I also
tested it with a