diff options
author | Mikael Djurfeldt <djurfeldt@nada.kth.se> | 2004-02-15 22:07:33 +0000 |
---|---|---|
committer | Mikael Djurfeldt <djurfeldt@nada.kth.se> | 2004-02-15 22:07:33 +0000 |
commit | 411a674a2d00f527b64509fbf4bbc8bb80d380b5 (patch) | |
tree | 2237b76d5bf432f0218ee2c529dc0fa44515d630 | |
parent | 99fcc9405fe209523e2adc9c6b74ad674265226f (diff) | |
download | guile-411a674a2d00f527b64509fbf4bbc8bb80d380b5.tar.gz |
(Hash Table Reference): Wrote a new entry
for hash-for-each-handle.
-rw-r--r-- | doc/ref/ChangeLog | 5 | ||||
-rw-r--r-- | doc/ref/scheme-compound.texi | 10 |
2 files changed, 15 insertions, 0 deletions
diff --git a/doc/ref/ChangeLog b/doc/ref/ChangeLog index 4e02f4c34..007da3727 100644 --- a/doc/ref/ChangeLog +++ b/doc/ref/ChangeLog @@ -1,3 +1,8 @@ +2004-02-15 Mikael Djurfeldt <mdj@chunk.mit.edu> + + * scheme-compound.texi (Hash Table Reference): Wrote a new entry + for hash-for-each-handle. + 2004-02-16 Kevin Ryde <user42@zip.com.au> * scheme-compound.texi (Sloppy Alist Functions): Amend error messages diff --git a/doc/ref/scheme-compound.texi b/doc/ref/scheme-compound.texi index 89de8b382..49e206161 100644 --- a/doc/ref/scheme-compound.texi +++ b/doc/ref/scheme-compound.texi @@ -2501,6 +2501,16 @@ entries from @code{mytable}, in no particular order. @end example @end deffn +@deffn {Scheme Procedure} hash-for-each-handle proc table +@deffnx {C Function} scm_hash_for_each_handle (proc, table) +Apply @var{proc} to the entries in the given hash @var{table}. Each +call is @code{(@var{proc} @var{handle})}, where @var{handle} is a +@code{(@var{key} . @var{value})} pair. Return an unspecified value. + +@code{hash-for-each-handle} differs from @code{hash-for-each} only in +the argument list of @var{proc}. +@end deffn + @deffn {Scheme Procedure} hash-fold proc init table @deffnx {C Function} scm_hash_fold (proc, init, table) Accumulate a result by applying @var{proc} to the elements of the |