From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.devel Subject: Re: Error using iterators: cps-internal-yield Date: Fri, 1 Jun 2018 13:20:10 -0400 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1527873497 23766 195.159.176.226 (1 Jun 2018 17:18:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 1 Jun 2018 17:18:17 +0000 (UTC) Cc: emacs-devel To: =?UTF-8?Q?Elias_M=C3=A5rtenson?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 01 19:18:12 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fOngq-00064Y-Mm for ged-emacs-devel@m.gmane.org; Fri, 01 Jun 2018 19:18:12 +0200 Original-Received: from localhost ([::1]:56915 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fOnix-0000qH-HB for ged-emacs-devel@m.gmane.org; Fri, 01 Jun 2018 13:20:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51076) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fOnin-0000p4-CR for emacs-devel@gnu.org; Fri, 01 Jun 2018 13:20:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fOnim-00075I-GW for emacs-devel@gnu.org; Fri, 01 Jun 2018 13:20:13 -0400 Original-Received: from mail-ot0-x232.google.com ([2607:f8b0:4003:c0f::232]:43878) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fOnim-00074y-Ao for emacs-devel@gnu.org; Fri, 01 Jun 2018 13:20:12 -0400 Original-Received: by mail-ot0-x232.google.com with SMTP id y10-v6so30129279otg.10 for ; Fri, 01 Jun 2018 10:20:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=cTisa7GqvkVrFPreDCtp0uXmVbKGvC0n94grcFuDVX4=; b=uvcHYHNcxFjjB+C+3gbivXYLPTGKqnZfoE7FNIsIhwxSjJCZoh8VWcRHbbJNbHo20U IGOSXF5qy2V8kk4E+YiayyHftP4jsL3cG9pAv5sf8xs5xLbKrfH9mFH7B5qD2cdfJjcg IUkh7xTVY7qxa7HZbI2AGb6DyC6l6tujsp4X9cQrZaHo/2PWZYhoO53Mgn76eGPJN62u ubTnQG+yHLlPNX/pwdR1AhZWkQBEObDWMVuVCS0PBcla7Ne/PM2QwcoSmdhcvqdnvy68 2vGmYNPtF9sM/9B6DPWmNdnAokFbUoSP8hwyJtBbdWp59GajohnTiduPYRtUkyjzm4kW YSVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=cTisa7GqvkVrFPreDCtp0uXmVbKGvC0n94grcFuDVX4=; b=P/r0eoswn0z/GSUptrq0HcIVNNPHQFXxlKDbnWn6p6tqu9qUMJ025WVfMZzwQM6LMw M3T0DlmwknZbkUgudUuWKbxY4vWYaKOP/pn2pSjeNougWrM7z0uhEVyq73WX5MynbmGm PIiriNXj4qVI5VCs6m1d8KmNdJ+9vuQbjRR+c5JT4bsifTBGILw2JmBlAFr5D/N+MNFj fvVECtsJsPxDJj/oOZm28CA8qTRZrBCIKzBEpl3vbcBZTxP/GhkoTKxy4tbJ88T2ta9X CVbZMJ8toZ2Q/wXfz5l3JiqXZlxciI1fvVDDx9w+hdlX9wb+q3gCZDlyiZf3yl3syYvJ NvMw== X-Gm-Message-State: ALKqPweKsZ08WKBO0j647QlZ76/MnG7nL7y3SIS4oVaI9a1WK+zYKP2S qwafhXqGe9GkWH+hhwctQvqul5oAaKVXPNEFbQ0= X-Google-Smtp-Source: ADUXVKKXfYR2hCtoZV0mKw0aOy0GNNCotC1Exhqr84GKsYu/pcfWEBfLiJkhgQrX0Mw//1D+mxnXwImF660YCNHZ6j4= X-Received: by 2002:a9d:94:: with SMTP id w20-v6mr8133336oti.248.1527873611743; Fri, 01 Jun 2018 10:20:11 -0700 (PDT) Original-Received: by 2002:a4a:3b84:0:0:0:0:0 with HTTP; Fri, 1 Jun 2018 10:20:10 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4003:c0f::232 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:225898 Archived-At: On 1 June 2018 at 12:37, Elias M=C3=A5rtenson wrote: > I was trying out the new iterator feature, and managed to write a small t= est > program that gives an error. I presume there is a problem with how the ma= cro > 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))