Function: parseedn--build-non-prefixed-map

parseedn--build-non-prefixed-map is a byte-compiled function defined in parseedn.el.

Signature

(parseedn--build-non-prefixed-map KVS)

Documentation

Build a non-prefixed map out of KVS.

KVS is a list of pairs (key value)

Source Code

;; Defined in ~/.emacs.d/elpa/parseedn-20231203.1909/parseedn.el
(defun parseedn--build-non-prefixed-map (kvs)
  "Build a non-prefixed map out of KVS.
KVS is a list of pairs (key value)"
  (let ((hash-map (make-hash-table :test 'equal :size (length kvs))))
    (seq-do (lambda (pair)
              (puthash (car pair) (cadr pair) hash-map))
            kvs)
    hash-map))