diff options
| author | 2022-06-29 08:23:48 -0400 | |
|---|---|---|
| committer | 2022-06-29 08:23:48 -0400 | |
| commit | d00d1b8d8f2ee3e19b60357d0d751e818e41745e (patch) | |
| tree | 812bd300d7b9ece3f690365fb6ce76cabf5040dc /srfi-225.html | |
| parent | editorial (diff) | |
| parent | update implementation (diff) | |
Merge pull request #4 from arvyy/master
update implementation
Diffstat (limited to 'srfi-225.html')
| -rw-r--r-- | srfi-225.html | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/srfi-225.html b/srfi-225.html index 73f1e72..ff53902 100644 --- a/srfi-225.html +++ b/srfi-225.html @@ -328,7 +328,7 @@ key <em>key</em>. <p>Returns an alist whose keys and values are the keys and values of <em>dict</em>.</p> <blockquote><pre> (dict->alist dto dict) => - {1:2, 3:4, 5:6} + ((1 . 2) (3 . 4) (5 . 6)) </pre></blockquote> <h3 id="iteration">Iteration</h3> <p><code>(dict-for-each</code> <em>dto proc dict</em> [ <em>start</em> [ <em>end</em> ] ] <code>)</code></p> @@ -359,7 +359,7 @@ key <em>key</em>. as a key and value of <em>dict</em> as if by <code>dict-set</code>, eventually returning the new value of <em>dict</em>. If invoked on an end-of-file object, no action is taken and <em>dict</em> is returned.</p> <p><code>(dict-adjoin-accumulator</code> <em>dto dict</em><code>)</code></p> -<p>The same as <code>dict-set(!)-accumulator</code>, except using <code>dict-adjoin</code>. </p> +<p>The same as <code>dict-set-accumulator</code>, except using <code>dict-adjoin</code>. </p> <h3 id="dictionary-type-object-procedures">Dictionary type object procedures (non-generic)</h3> <p><code>(dto?</code> <em>obj</em><code>)</code></p> <p>Returns <code>#t</code> if <em>obj</em> is a DTO, and <code>#f</code> otherwise.</p> @@ -532,7 +532,7 @@ new dictionary types that may not have complete dictionary APIs:</p> <dd>dict-fold</dd> <dt>dict-for-each</dt> - <dd>dict-map or dict-map!</dd> + <dd>dict-map</dd> <dt>dict->generator</dt> <dd>dict-for-each</dd> @@ -540,15 +540,8 @@ new dictionary types that may not have complete dictionary APIs:</p> <dt>dict-set-accumulator</dt> <dd>dict-set</dd> - <dt>dict-set!-accumulator</dt> - <dd>dict-set!</dd> - <dt>dict-adjoin-accumulator</dt> <dd>dict-set</dd> - - <dt>dict-adjoin!-accumulator</dt> - <dd>dict-adjoin!</dd> - </dl> </code> |
