Re: multimethods + derive question

2008-11-19 Thread Rich Hickey
On Nov 19, 2:35 pm, Stuart Halloway <[EMAIL PROTECTED]> wrote: > Rich, > > Very helpful, as always. Alias + the ability to pull in symbols names > via refer was exactly what I was looking for. > > One scenario still worries me: > > 1. I create a multimethod that dispatches around a tag whose val

Re: multimethods + derive question

2008-11-19 Thread Stuart Halloway
Rich, Very helpful, as always. Alias + the ability to pull in symbols names via refer was exactly what I was looking for. One scenario still worries me: 1. I create a multimethod that dispatches around a tag whose value is an unresolved keyword (:Foo instead of ::Foo). Everything works fine

Re: multimethods + derive question

2008-11-19 Thread Rich Hickey
On Nov 19, 7:45 am, Stuart Halloway <[EMAIL PROTECTED]> wrote: > Hi all, > > I am working on the multimethod chapter this week. This has required a > lot of exploration, as the multimethod feature set goes well beyond > what most people are using yet. I have hit one rough spot: derive. I > have

Re: multimethods + derive question

2008-11-19 Thread mb
Hello stuart, On 19 Nov., 13:45, Stuart Halloway <[EMAIL PROTECTED]> wrote: > I am working on the multimethod chapter this week. This has required a   > lot of exploration, as the multimethod feature set goes well beyond   > what most people are using yet. I have hit one rough spot: derive. I   >

multimethods + derive question

2008-11-19 Thread Stuart Halloway
Hi all, I am working on the multimethod chapter this week. This has required a lot of exploration, as the multimethod feature set goes well beyond what most people are using yet. I have hit one rough spot: derive. I have working code (below), but I don't like the way I have to call it wit