<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.3.2">
</HEAD>
<BODY>
Ian can answer this better than I can, but I would say just use map-root anyway.<BR>
It might be an oversight that it is not external.<BR>
<BR>
Perhaps Ian has a better idea.<BR>
<BR>
<BR>
On Thu, 2006-08-24 at 23:19 -0400, kykim_lists@mac.com wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">I want to get all the top-level keys in my data store.</FONT>

<FONT COLOR="#000000">I use to do this:</FONT>
<FONT COLOR="#000000">  (let ((results '()))</FONT>
<FONT COLOR="#000000">    (ele:with-open-store (+data-store+)</FONT>
<FONT COLOR="#000000">      (ele:map-btree #'(lambda (k v) (push k results)) (ele:controller-root ele:*store-controller*)))</FONT>
<FONT COLOR="#000000">    (nreverse results)))</FONT>

<FONT COLOR="#000000">But now, controller-root is no longer external.</FONT>
<FONT COLOR="#000000">It looks like map-root would do what I want, but it's not external either (?)</FONT>

<FONT COLOR="#000000">Any suggestions on what I can do?</FONT>

<FONT COLOR="#000000">Thanks,</FONT>
<FONT COLOR="#000000">-kevin</FONT>

<FONT COLOR="#000000">_______________________________________________</FONT>
<FONT COLOR="#000000">elephant-devel site list</FONT>
<FONT COLOR="#000000"><A HREF="mailto:elephant-devel@common-lisp.net">elephant-devel@common-lisp.net</A></FONT>
<FONT COLOR="#000000"><A HREF="http://common-lisp.net/mailman/listinfo/elephant-devel">http://common-lisp.net/mailman/listinfo/elephant-devel</A></FONT>
</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>