Re: Possible feature: consider aliases when reading namespace-qualified keywords.

2009-01-23 Thread David Nolen
Nice :) On Fri, Jan 23, 2009 at 2:10 PM, Jason Wolfe wrote: > > On Jan 19, 4:29 pm, Jason Wolfe wrote: > > I've been doing some OO-type Clojure programming, and have run into > > the following (quite minor) annoyance: > > > > I've defined a struct with a :class of ::Foo in namespace > > my.long

Re: Possible feature: consider aliases when reading namespace-qualified keywords.

2009-01-23 Thread Jason Wolfe
On Jan 19, 4:29 pm, Jason Wolfe wrote: > I've been doing some OO-type Clojure programming, and have run into > the following (quite minor) annoyance: > > I've defined a struct with a :class of ::Foo in namespace > my.long.namespace.foo. > > In another namespace my.long.namespace.bar, I want to de

Re: Possible feature: consider aliases when reading namespace-qualified keywords.

2009-01-20 Thread Jason Wolfe
Hi David, Thanks ... I just looked at CLJOS, and was actually just earlier thinking about writing something similar myself. It looks very nice, and I very well might end up using it (especially if it gets up-to- speed with "struct"). Still, I stand by my feature request :). I guess in the mea

Re: Possible feature: consider aliases when reading namespace-qualified keywords.

2009-01-19 Thread David Nolen
My OO example from earlier deals with this case by completely removing any need to manually derive tags. This is done by having CLJOS keep it's own internal hierarchy (via make-hierarchy) rather than using the default one. By modifying metadata on the vars holding structs created by defclass (usi

Possible feature: consider aliases when reading namespace-qualified keywords.

2009-01-19 Thread Jason Wolfe
I've been doing some OO-type Clojure programming, and have run into the following (quite minor) annoyance: I've defined a struct with a :class of ::Foo in namespace my.long.namespace.foo. In another namespace my.long.namespace.bar, I want to define a subclass of this struct. In this namespace, I