lispdoc - results for maphash |
(maphash function-designator hash-table) | Function: For each entry in HASH-TABLE, call the designated two-argument function on the key and value of the entry. Return NIL. Consequences are undefined if HASH-TABLE is mutated during the call to MAPHASH, except for changing or removing elements corresponding to the current key. The applies to all threads, not just the current one -- even for synchronized hash-tables. If the table may be mutated by another thread during iteration, use eg. SB-EXT:WITH-LOCKED-HASH-TABLE to protect the MAPHASH call.
|
| Mentioned in: CLtL2 - 16. Hash Tables CLtL2 - 16.1. Hash Table Functions CLtL2 - 7.9. Structure Traversal and Side Effects HyperSpec - Function MAPHASH PCL - hash table iteration | |
(alexandria.0.dev:maphash-keys function table) | Function: Like MAPHASH, but calls FUNCTION with each key in the hash table TABLE.
|
(alexandria.0.dev:maphash-values function table) | Function: Like MAPHASH, but calls FUNCTION with each value in the hash table TABLE.
|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
| By Bill Moorier |