Function: ht-to-plist

ht-to-plist is a for ht->plist, defined in ht.el.

Signature

(ht-to-plist TABLE)

Documentation

Return a flat list '(key1 value1 key2 value2...) from TABLE.

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

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

Aliases

ht-to-plist