Function: parseclj-alist

parseclj-alist is a byte-compiled function defined in parseclj-alist.el.

Signature

(parseclj-alist &rest KVS)

Documentation

Create an association list from the given keys and values KVS.

Arguments are simply provided in sequence, rather than as lists or cons cells. For example: (parseclj-alist :foo 123 :bar 456)

Source Code

;; Defined in ~/.emacs.d/elpa/parseclj-20261002.1230/parseclj-alist.el
(defun parseclj-alist (&rest kvs)
  "Create an association list from the given keys and values KVS.
Arguments are simply provided in sequence, rather than as lists or cons cells.
For example: (parseclj-alist :foo 123 :bar 456)"
  ;; Emacs 27:
  ;; (map-into kvs 'alist)
  (mapcar (lambda (kv) (cons (car kv) (cadr kv))) (seq-partition kvs 2)))