From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Frank Terbeck Newsgroups: gmane.lisp.guile.user Subject: Re: SRFI-151 (Bitwise Operations) Implementation Date: Thu, 09 Jan 2020 10:10:25 +0100 Message-ID: <87r2092dxa.fsf@ft.bewatermyfriend.org> References: <87y2uh2qyu.fsf@ft.bewatermyfriend.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="211279"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: guile-user@gnu.org To: Linus =?utf-8?Q?Bj=C3=B6rnstam?= Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Thu Jan 09 10:16:44 2020 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1ipTua-000JrY-VS for guile-user@m.gmane.org; Thu, 09 Jan 2020 10:15:29 +0100 Original-Received: from localhost ([::1]:57308 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ipTuZ-0005ah-9S for guile-user@m.gmane.org; Thu, 09 Jan 2020 04:15:27 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49653) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ipTuE-0005aK-Bf for guile-user@gnu.org; Thu, 09 Jan 2020 04:15:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ipTuC-0001t5-Cq for guile-user@gnu.org; Thu, 09 Jan 2020 04:15:05 -0500 Original-Received: from smtprelay04.ispgateway.de ([80.67.31.27]:14201) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ipTuC-0001oA-3x for guile-user@gnu.org; Thu, 09 Jan 2020 04:15:04 -0500 Original-Received: from [62.155.206.63] (helo=jim.voodoo.lan) by smtprelay04.ispgateway.de with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.3) (envelope-from ) id 1ipTu9-0000XU-8R; Thu, 09 Jan 2020 10:15:01 +0100 Original-Received: by jim.voodoo.lan (Postfix, from userid 1000) id 89EC1127781; Thu, 9 Jan 2020 10:10:25 +0100 (CET) In-Reply-To: ("Linus =?utf-8?Q?Bj=C3=B6rnstam=22's?= message of "Thu, 09 Jan 2020 08:15:18 +0100") X-Df-Sender: NDMwNDQ0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 80.67.31.27 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.org gmane.lisp.guile.user:16016 Archived-At: Hi Linus! Linus Bj=C3=B6rnstam wrote: > I have a port of the SRFI code as well, using renaming of guile and srfi-= 60 > procedures as necessary. I see! I did mine from scratch, while reading the spec. > It has the make-bitwise-generator from srfi-151. Interesting. I thought the generators were part of some disjoint type. After seeing the iterator you implemented, I actually took a look at SRFI-121 and indeed: =E2=80=9CThey are just procedures that conform to a ca= lling convention, so you can construct a generator with lambda.=E2=80=9D I guess I'll do the same for now! Thanks for letting me know. :) Regards, Frank