summaryrefslogtreecommitdiffstats
path: root/srfi-225.html
diff options
context:
space:
mode:
authorGravatar John Cowan 2021-07-25 17:45:49 -0400
committerGravatar John Cowan 2021-07-25 17:45:49 -0400
commit6d4dc45735c15a00e0137d1f37aaeab01973c256 (patch)
tree4cadaea7974cdbb473a4a8ef0a7eb86c4b4d6755 /srfi-225.html
parentupdates (diff)
new example
Diffstat (limited to 'srfi-225.html')
-rw-r--r--srfi-225.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/srfi-225.html b/srfi-225.html
index c4cd729..7467673 100644
--- a/srfi-225.html
+++ b/srfi-225.html
@@ -234,7 +234,10 @@ one for each of the four procedures:
<blockquote><pre>(dict-fold + 0 &#39;((1 . 2) (3 . 4))) =&gt; 10</pre></blockquote>
<p><code>(dict-map-&gt;list</code>&nbsp;<em>dtd proc dictionary</em><code>)</code></p>
<p>Returns a list of values that result from invoking <em>proc</em> on the keys and corresponding values of <em>dictionary</em>.</p>
-<blockquote><pre>(dict-map-&gt;list - aed dict) =&gt; (-1 -1 -1)</pre></blockquote>
+<blockquote><pre>
+(dict-map->list (lambda (k v) v) dict) =>gt; (2 4 6),
+(dict-map->list - aed dict) =&gt; (-1 -1 -1) ; subtract value from key
+</pre></blockquote>
<p><code>(dict-&gt;alist</code>&nbsp;<em>dtd dictionary</em><code>)</code></p>
<p>Returns an alist whose keys and values are the keys and values of <em>dictionary</em>.</p>
<blockquote><pre>; plist to alist