all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Heerdegen <michael_heerdegen@web.de>
To: emacs-devel@gnu.org
Subject: Re: Issues with named-led and pcase inside iter-defun.
Date: Tue, 12 Sep 2023 02:01:02 +0200	[thread overview]
Message-ID: <87bke82rb5.fsf@web.de> (raw)
In-Reply-To: 87leddnlka.fsf@gmail.com

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	other threads:[~2023-09-12  0:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-11  8:47 Issues with named-led and pcase inside iter-defun Max Brieiev
2023-09-12  0:01 ` Michael Heerdegen [this message]
2023-09-12  8:55   ` Max Brieiev
2023-09-13  4:21     ` Michael Heerdegen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bke82rb5.fsf@web.de \
    --to=michael_heerdegen@web.de \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.