help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using `iter-yield` with `seq.el` and mapping functions?


From: Michael Heerdegen
Subject: Re: Using `iter-yield` with `seq.el` and mapping functions?
Date: Sun, 06 Nov 2022 01:39:42 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Okamsn <okamsn@protonmail.com> writes:

> Is it possible to use `iter-yield` via mapping functions and `seq.el`
> functions? For example, when I do
>
>      (setq iter-maker (iter-lambda (x)
>                         (seq-doseq (item x)
>                           (iter-yield item))))
>      (setq my-iter (funcall iter-maker '(1 2 3)))
>      (iter-next my-iter)
>
> I get an error "(void-function cps-internal-yield)".

Good question.  `dolist' works.  A rewrite using `mapc' doesn't (same
error).

Michael.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]