Function: comp-split-pos-neg

comp-split-pos-neg is a byte-compiled function defined in comp-cstr.el.gz.

Signature

(comp-split-pos-neg CSTRS)

Documentation

Split constraints CSTRS into non-negated and negated.

Return them as multiple value.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/comp-cstr.el.gz
(defun comp-split-pos-neg (cstrs)
  "Split constraints CSTRS into non-negated and negated.
Return them as multiple value."
  (cl-loop
   for cstr in cstrs
   if (comp-cstr-neg cstr)
     collect cstr into negatives
   else
     collect cstr into positives
   finally return (cl-values positives negatives)))