Louis :emacs: on Nostr: npub1dtw0v…885ra You probably have to get all the keys first: (defun ...
npub1dtw0ve3yrtslcda2l46lmm7t5z7m7sc6xf9r7cd98e37pd92utdsd885ra (npub1dtw…85ra) You probably have to get all the keys first:
(defun hash-table-keys (hash-table)
(let ((keys ()))
(maphash (lambda (k v) (push k keys)) hash-table)
keys))
and then run your own iteration. You are right, hash tables are not a first class citizen in Elisp, unfortunately.
(defun hash-table-keys (hash-table)
(let ((keys ()))
(maphash (lambda (k v) (push k keys)) hash-table)
keys))
and then run your own iteration. You are right, hash tables are not a first class citizen in Elisp, unfortunately.