diff options
| author | 2021-07-25 17:45:49 -0400 | |
|---|---|---|
| committer | 2021-07-25 17:45:49 -0400 | |
| commit | 6d4dc45735c15a00e0137d1f37aaeab01973c256 (patch) | |
| tree | 4cadaea7974cdbb473a4a8ef0a7eb86c4b4d6755 /srfi-225.html | |
| parent | updates (diff) | |
new example
Diffstat (limited to 'srfi-225.html')
| -rw-r--r-- | srfi-225.html | 5 |
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 '((1 . 2) (3 . 4))) => 10</pre></blockquote> <p><code>(dict-map->list</code> <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->list - aed dict) => (-1 -1 -1)</pre></blockquote> +<blockquote><pre> +(dict-map->list (lambda (k v) v) dict) =>gt; (2 4 6), +(dict-map->list - aed dict) => (-1 -1 -1) ; subtract value from key +</pre></blockquote> <p><code>(dict->alist</code> <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 |
