Function: rx--foldl

rx--foldl is a byte-compiled function defined in rx.el.gz.

Signature

(rx--foldl F X L)

Documentation

(F (F (F X L0) L1) L2) ...

Left-fold the list L, starting with X, by the binary function F.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/rx.el.gz
(defun rx--foldl (f x l)
  "(F (F (F X L0) L1) L2) ...
Left-fold the list L, starting with X, by the binary function F."
  (while l
    (setq x (funcall f x (car l)))
    (setq l (cdr l)))
  x)