There are 13 utilities.
- alist-to-hash-table v1.0
-
Create a hash table populated with
kv-pairs
.- Provides
alist-to-hash-table
- hash-table-key-exists-p v1.0
-
Does
key
exist inhash-table
?- Provides
hash-table-key-exists-p
- dohash v1.0
-
Iterate over the hash table
table
, executingbody
, withkey
andvalue
bound to the keys and values of the hash table respectively. Returnresult
from the iteration form.- Provides
dohash
- copy-hash-table v1.0
-
Returns a copy of hash table
table
, with the same keys and values as thetable
. The copy has the same properties as the original, unless overridden by the keyword arguments.Before each of the original values is set into the new hash-table,
key
is invoked on the value. Askey
defaults tocl:identity
, a shallow copy is returned by default.- Provides
copy-hash-table
- maphash-keys v1.0
-
Like
maphash
, but callsfunction
with each key in the hash tabletable
.- Provides
maphash-keys
- maphash-values v1.0
-
Like
maphash
, but callsfunction
with each value in the hash tabletable
.- Provides
maphash-values
- hash-table-keys v1.0
-
Returns a list containing the keys of hash table
table
.- Provides
hash-table-keys
- Requires
- maphash-keys
- hash-table-values v1.0
-
Returns a list containing the values of hash table
table
.- Provides
hash-table-values
- Requires
- maphash-values
- hash-table-alist v1.0
-
Returns an association list containing the keys and values of hash table
table
.- Provides
hash-table-alist
- hash-table-plist v1.0
-
Returns a property list containing the keys and values of hash table
table
.- Provides
hash-table-plist
- alist-hash-table v1.0
-
Returns a hash table containing the keys and values of the association list
alist
. Hash table is initialized using thehash-table-initargs
.- Provides
alist-hash-table
- plist-hash-table v1.0
-
Returns a hash table containing the keys and values of the property list
plist
. Hash table is initialized using thehash-table-initargs
.- Provides
plist-hash-table
- ensure-gethash v1.0
-
Like
gethash
, but ifkey
is not found in thehash-table
saves thedefault
under key before returning it. Secondary return value is true if key was already in the table.- Provides
ensure-gethash