Function: ht-to-alist

ht-to-alist is a function alias for ht->alist, defined in ht.el.

Signature

(ht-to-alist TABLE)

Documentation

Return a list of two-element lists '(key . value) from TABLE.

Note that hash tables are unordered, so this cannot be an exact inverse of ht<-alist. The following is not guaranteed:

(let ((data '((a . b) (c . d))))
  (equalp data
          (ht->alist (ht<-alist data))))

Aliases

ht-to-alist