emacs-devel
[Top][All Lists]
Advanced

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

Re: Issues with named-led and pcase inside iter-defun.


From: Michael Heerdegen
Subject: Re: Issues with named-led and pcase inside iter-defun.
Date: Tue, 12 Sep 2023 02:01:02 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Max Brieiev <max.brieiev@gmail.com> writes:

> The above has essentially the same structure as lazy-sum function,
> however this code fails with the error:
>
>     (void-function cps-internal-yield)
>
> Is this a bug related to iterators in Elisp?

This looks like bug#59140 ("iter-yield from lambda"), a known but not
yet fixed limitation.

> So my question is how do I work around this?

AFAIU you must avoid yielding from inside a lambda expression in
the expanded code.

Michael.




reply via email to

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