Reported by m...@kotka.de, Jan 17, 2009
Describe the feature/change.
This is an issue from the TODO list.
Currently multimethods use the global-hierarchy. However sometimes it is useful, to define
a dedicated hierarchy for a given set of multimethods. The attached patch adds a new
:hierarchy argument to defmulti which specifies the desired hierarchy. The hierarchy may be
any IRef.
The patch depends on the patch of issue #8 .
Was this discussed on the group? If so, please provide a link to the discussion:
http:2a105?lnk=gst&q=per+defmulti+hierarchies
issue-48.diff
3.4 KB Download
Comment 1 by richhickey, Feb 09, 2009
patch applied - svn 1262 - thanks!
Status: Fixed
Converted from http://www.assembla.com/spaces/clojure/tickets/52
Attachments:
issue-48.diff - https://www.assembla.com/spaces/clojure/documents/bFLf80w3qr3PSteJe5afGb/download/bFLf80w3qr3PSteJe5afGb