Package: alexandria
Function maphash-values
Lambda Listmaphash-values (function table) ArgumentsDetails Iterates over all values in a hash table. Like the Common Lisp function maphash, but calls function with each value in the hash table table. Examples(defvar table (make-hash-table)) => TABLE (setf (gethash 'Germany table) 'Berlin) => BERLIN (setf (gethash 'France table) 'Paris) => PARIS (setf (gethash 'Britain table) 'London) => LONDON (maphash-values #'print table) >> BERLIN LONDON PARIS => NIL | See also |