<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Works for me on the elephant-1.0 repository. You have to indicate in the base class that subclasses will inherit its index. Then you do get-instances-by-value/range on any class on the inherited slotname to get all instances inheriting from the base.</div><div><br></div><div>Ian</div><br><div><div>On Jul 14, 2009, at 4:01 PM, Red Daly wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div class="gmail_quote">On Tue, Sep 16, 2008 at 7:20 AM, Ian Eslick <span dir="ltr"><<a href="mailto:eslick@media.mit.edu">eslick@media.mit.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> There is an :inherit slot keyword option for indexed slots. It causes subclasses of the defining class to share the index of the base class. You can inhibit subclass sharing by re-defining the slot in the base class. I found a bug in unstable and patched it so this works again.</blockquote> <div><br>As far as I can tell, this feature is now missing. Am I mistaken?<br> <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br> <br> Calling map-inverted-index (and the top-level API fn's get-instances-by-value/range) from the base or subclasses will return instances for all classes that share that base index. We could add some refinements such as mapping from a subclass filters out any superclass instances during the traversal.<br> <br> We can easily add a keyword arg to map-class and get-instances-by-class to return all subclass instances as well.<br><font color="#888888"> <br> Ian</font></blockquote><div><br>Red</div></div><br> _______________________________________________<br>elephant-devel site list<br><a href="mailto:elephant-devel@common-lisp.net">elephant-devel@common-lisp.net</a><br>http://common-lisp.net/mailman/listinfo/elephant-devel</blockquote></div><br></body></html>