emacs-devel
[Top][All Lists]
Advanced

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

Re: Error using iterators: cps-internal-yield


From: Noam Postavsky
Subject: Re: Error using iterators: cps-internal-yield
Date: Fri, 1 Jun 2018 13:20:10 -0400

On 1 June 2018 at 12:37, Elias Mårtenson <address@hidden> 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))



reply via email to

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