From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Linus_Bj=C3=B6rnstam?= Newsgroups: gmane.lisp.guile.devel Subject: Re: [PATCH] add SRFI: srfi-121; generators Date: Tue, 26 Jan 2021 12:54:18 +0100 Message-ID: <4f5c2aac-78fb-496c-9d9c-89500ebd1487@www.fastmail.com> References: <87r1mcfozv.fsf@netris.org> <87lfckf9ac.fsf@netris.org> Mime-Version: 1.0 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34903"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Cyrus-JMAP/3.5.0-alpha0-78-g36b56e88ef-fm-20210120.001-g36b56e88 Cc: Shiro Kawai , John Cowan , guile-devel@gnu.org, Mark H Weaver , "Arthur A. Gleckler" , srfi To: =?UTF-8?Q?Marc_Nieper-Wi=C3=9Fkirchen?= Original-X-From: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Tue Jan 26 12:55:01 2021 Return-path: Envelope-to: guile-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l4Mw0-0008sj-HZ for guile-devel@m.gmane-mx.org; Tue, 26 Jan 2021 12:55:01 +0100 Original-Received: from localhost ([::1]:37242 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l4Mvz-0003Pf-Gc for guile-devel@m.gmane-mx.org; Tue, 26 Jan 2021 06:54:59 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44772) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l4Mvm-0003PB-0T for guile-devel@gnu.org; Tue, 26 Jan 2021 06:54:46 -0500 Original-Received: from wout5-smtp.messagingengine.com ([64.147.123.21]:49365) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l4Mvk-0004Le-48 for guile-devel@gnu.org; Tue, 26 Jan 2021 06:54:45 -0500 Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 0A9F69B1; Tue, 26 Jan 2021 06:54:41 -0500 (EST) Original-Received: from imap1 ([10.202.2.51]) by compute4.internal (MEProxy); Tue, 26 Jan 2021 06:54:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=veryfast.biz; h= mime-version:message-id:in-reply-to:references:date:from:to:cc :subject:content-type:content-transfer-encoding; s=fm1; bh=QHGk5 g/qGNvVs6JAABbFQE84pfjwKvHtIf8mw/lXUSI=; b=WrZWx8Q8qT0VQAA0UQEk4 cpvSrbXv2bHFEEJra2d/ZAvG+AMevBpTKAFOapVa7ltl1mswuodc81wOfmNwql3l xNZQSOLtxXqCtCZfh8TRuYTNtDwu6ZDmiD6pMddAfYUij7prj5feooKxhbq1pbPR k/ndBZTSHVVnjHzh2pPb/bU0xGzsV5oEvk3pvqWZH8wGdpa2UCpHDkO1gZ+t/b27 ZMaHu1MbNJHSBXQL5fm/bsFQaeCXi3fWVee3ZTYEynCsXwAsVuPaSZ7IVKCGmDRm aWzBGDnqql8bnbbdtRFAWxAFwYKv/VcpMzKsGwpEoyV796V38U/J6OaPpPKItJzE w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=QHGk5g/qGNvVs6JAABbFQE84pfjwKvHtIf8mw/lXU SI=; b=Hpe2iu/s342curag+6+l4ig801GvlOp2Cfc6bcpiuydovk2dbMT4R3Z6m xojDhgkGis/4CG57UZqmvr23iUWDE49HEhotkyu0JwhaAhW0OrYt3nEn7mAmVk8L UWh2eMuHni4StJtL/SQlw7Og8blzxbffdWZY7lrFx+WfIBQ0F3kEcE2diUqrao0m 7h+c7P0I4X948ZCXIv9V2OP8gCmZ+rBhnJ5OgjpBMycwtlhc3Nqz8O6T1Bc9MlSq WGoaL4zh8zt/gehfJvZhAPkyflmw01tQ+6p13aaD6dadEHRNRAPXJznMAdzByIuI 5+2XE1Y0EFxQUO4Pd8a4y9QUXl14w== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdehgdeffecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvufgtgfesthhqredtreerjeenucfhrhhomhepnfhinhhu shgpuehjnphrnhhsthgrmhcuoehlihhnuhhsrdgsjhhorhhnshhtrghmsehvvghrhihfrg hsthdrsghiiieqnecuggftrfgrthhtvghrnheptedvueetheeukeethfduvdejleetffeu vddvueduieeuvdettdeuheehvdejieffnecuvehluhhsthgvrhfuihiivgeptdenucfrrg hrrghmpehmrghilhhfrhhomheplhhinhhushdrsghjohhrnhhsthgrmhesvhgvrhihfhgr shhtrdgsihii X-ME-Proxy: Original-Received: by mailuser.nyi.internal (Postfix, from userid 501) id C6B2D130005E; Tue, 26 Jan 2021 06:54:40 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface In-Reply-To: Received-SPF: pass client-ip=64.147.123.21; envelope-from=linus.bjornstam@veryfast.biz; helo=wout5-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Original-Sender: "guile-devel" Xref: news.gmane.io gmane.lisp.guile.devel:20655 Archived-At: The code's internet presence is apparently gone (bitbucket mercurial. I = don't know how I missed that ). I won't have access to that code for abo= ut 2 weeks, but I will upload it and try to get it up to par with the up= dated SRFI-158. Lg. Linus Bj=C3=B6rnstam On Tue, 26 Jan 2021, at 08:14, Marc Nieper-Wi=C3=9Fkirchen wrote: > Am Di., 26. Jan. 2021 um 08:08 Uhr schrieb Linus Bj=C3=B6rnstam=20 > : > > Hi Y'all! > >=20 > > I have an efficient, almost done implementation of srfi-121. I belie= ve it lacks generator-unfold, but that is all. make-coroutine-generator = is implemented using delimited continuations and runs a lot faster than = the one in the reference implementation, with the caveat that it is appa= rently slightly incompatible: the coroutine generator usage in (srfi 146= hash) yielded the wrong result - despite my version passing all tests. >=20 > Can you post a MWE? >