Function: iter-yield
iter-yield is a byte-compiled function defined in generator.el.gz.
Signature
(iter-yield VALUE)
Documentation
When used inside a generator, yield control to caller.
The caller of iter-next receives VALUE, and the next call to
iter-next resumes execution with the form immediately following this
iter-yield call.
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/generator.el.gz
(defun iter-yield (value)
"When used inside a generator, yield control to caller.
The caller of `iter-next' receives VALUE, and the next call to
`iter-next' resumes execution with the form immediately following this
`iter-yield' call."
(identity value)
(error "`iter-yield' used outside a generator"))