From: Noam Postavsky <npostavs@gmail.com>
To: "Elias Mårtenson" <lokedhs@gmail.com>
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: Re: Error using iterators: cps-internal-yield
Date: Fri, 1 Jun 2018 13:20:10 -0400 [thread overview]
Message-ID: <CAM-tV-9vkGYA9SiQgsAgZdLPRtmGFJeww+JqwBx5_r5su4vY3g@mail.gmail.com> (raw)
In-Reply-To: <CADtN0WK+yhh90SNkeGTMGWh6R_w6AXcLpWxKGQKe5dkR-NdmDA@mail.gmail.com>
On 1 June 2018 at 12:37, Elias Mårtenson <lokedhs@gmail.com> wrote:
> I was trying out the new iterator feature, and managed to write a small test
> program that gives an error. I presume there is a problem with how the macro
> interacts with cl-labels.
I think it just doesn't handle iter-yield inside lambda, e.g., this
gives the same error:
(iter-defun bar ()
(funcall #'(lambda () (iter-yield 'a))))
(iter-next (bar))
prev parent reply other threads:[~2018-06-01 17:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-01 16:37 Error using iterators: cps-internal-yield Elias Mårtenson
2018-06-01 17:20 ` Noam Postavsky [this message]
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAM-tV-9vkGYA9SiQgsAgZdLPRtmGFJeww+JqwBx5_r5su4vY3g@mail.gmail.com \
--to=npostavs@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=lokedhs@gmail.com \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).