Re: [elephant-devel] get-instance-by-class etc

2009-09-09 Thread Ian Eslick
Sounds like an opportunity for a cute little macro... (defmacro with-store ((store) &body body) `(let ((*store-controller* ,store)) (declare (special *store-controller*)) ,@body)) which is now in the current dev tree. There is also the with-open-store macro which will open

Re: [elephant-devel] get-instance-by-class etc

2009-09-08 Thread Leslie P. Polzer
On Tue, Sep 08, 2009 at 08:51:38PM +0100, Tiarnan O'Corrain wrote: > the get-instance* functions don't take a store-controller argument. > What's the recommended way of directing these to the appropriate store > where many may be open? (let ((*store-controller* my-store-controller)) (get-instan