[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.
Re: Using `iter-yield` with `seq.el` and mapping functions?, Michael Heerdegen, 2022/11/08