Function: nrepl--cons

nrepl--cons is a byte-compiled function defined in nrepl-dict.el.

Signature

(nrepl--cons CAR LIST-OR-DICT)

Documentation

Generic cons of CAR to LIST-OR-DICT.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/nrepl-dict.el
;;; More specific functions
(defun nrepl--cons (car list-or-dict)
  "Generic cons of CAR to LIST-OR-DICT."
  (if (eq (car list-or-dict) 'dict)
      (cons 'dict (cons car (cdr list-or-dict)))
    (cons car list-or-dict)))