Re: per-defmulti hierarchies

2009-01-20 Thread Rich Hickey
On Jan 20, 12:13 am, Mark Fredrickson wrote: > On the subject of per defmulti hierarchies: > > The recent CLJOS thread got me thinking about this problem again. > While allowing per-multimethod hierarchies solves a large number > problems, I think it might be lacking for a class of needs. I thi

Re: per-defmulti hierarchies

2009-01-19 Thread Mark Fredrickson
On the subject of per defmulti hierarchies: The recent CLJOS thread got me thinking about this problem again. While allowing per-multimethod hierarchies solves a large number problems, I think it might be lacking for a class of needs. I think I have solution that can provide for multiple hi

Re: per-defmulti hierarchies

2009-01-11 Thread Meikel Brandmeyer
Hello, Am 07.01.2009 um 17:44 schrieb Meikel Brandmeyer: Please find attached another patch going for IRef instead of Var directly. And without the other cruft. Another update in sync with updated issue #8. Sincerely Meikel issue-8b.diff Description: Binary data smime.p7s Description:

Re: per-defmulti hierarchies

2009-01-07 Thread Meikel Brandmeyer
Hi Rich, Am 07.01.2009 um 17:10 schrieb Rich Hickey: Thanks Meikel. I have a couple of points: First, making derive and underive act on vars instead of the hierarchies directly is not good - it reduces the generality needlessly. Good practice is to make pure fns, then do the reference part, no

Re: per-defmulti hierarchies

2009-01-07 Thread Rich Hickey
On Jan 5, 4:56 pm, Meikel Brandmeyer wrote: > Dear Clojurians, > > This patch allows multimethods to use different hierarchies, than > the global hierarchy for use with isa?. Currently only the global > hierarchy is possible. > > The patch extends the MultiFn class to accept also a Var pointing