From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andreas Reuleaux Newsgroups: gmane.lisp.guile.user Subject: Re: unusual let binding (of lp) - in function element->xml from sxml simple Date: Sat, 03 Feb 2024 22:16:55 +0000 Message-ID: <87ttmpry5k.fsf@softland> References: <87zfwhrzcq.fsf@softland> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32145"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: guile-user To: "Thompson, David" Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Sat Feb 03 23:15:12 2024 Return-path: Envelope-to: guile-user@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 1rWOI3-000895-Iv for guile-user@m.gmane-mx.org; Sat, 03 Feb 2024 23:15:11 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rWOHZ-0005pC-Dj; Sat, 03 Feb 2024 17:14:41 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rWOHX-0005oa-HP for guile-user@gnu.org; Sat, 03 Feb 2024 17:14:39 -0500 Original-Received: from sender4-of-o50.zoho.com ([136.143.188.50]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rWOHV-0006yQ-GZ for guile-user@gnu.org; Sat, 03 Feb 2024 17:14:39 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1706998474; cv=none; d=zohomail.com; s=zohoarc; b=jnQDaQcnIO5LyOKS7UkeuWWoz0Y5knh6ddj8cl61sFOg0lkG1vBEAC87NkW5jmbJukw+WBAT8uFCVwENU2/oVwQGEDmpZeDLUAH9eFMaYOeu0nMmnsL5I0sYnPVyRp9Nkp+38QMcb6IxLmHasq6qrExk7C89E1bzPTUEyIA+6bo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1706998474; h=Content-Type:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:Subject:To:To:Message-Id:Reply-To; bh=YEdazVnxlE4FgvzI/LGuAFz+OSz95L2fy8BusRHLP4k=; b=MrvD6IG/vr/dsVugZ5tF8Tbz9YVUD3Z1qslf9FF2A4qbw9UZWvL6TJkFY/kQj01GPmkshh+C2ldKigpu1OaE+FK3mHmt2ZY6TMpESBn0PpBKUchP02WnSTrzDIak1LTLzGffTo16QR6GcDFOox0P22L0EJtnkqkZ44xSXMFVZms= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=a-rx.info; spf=pass smtp.mailfrom=rx@a-rx.info; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1706998474; s=zoho; d=a-rx.info; i=rx@a-rx.info; h=From:From:To:To:Cc:Cc:Subject:Subject:In-Reply-To:References:Date:Date:Message-ID:MIME-Version:Content-Type:Message-Id:Reply-To; bh=YEdazVnxlE4FgvzI/LGuAFz+OSz95L2fy8BusRHLP4k=; b=LNaQ2hiXbcgclH2LIF1L38ADihd1wJkm02zEnRX+JN2eyolz3FMul7MI0Uw9Jro9 j5jlEqXlWGUf7NqYvv3AD0ntgb7qDud1oakwa2MJgrfTe7JxRvlsChbVHF/2/IPLZOO PMRl4jVVdZgVOCOq3Cx2cEd2yOlBRvrqPKrQdUC8= Original-Received: from softland (148.252.128.76 [148.252.128.76]) by mx.zohomail.com with SMTPS id 1706998471292368.4549864827808; Sat, 3 Feb 2024 14:14:31 -0800 (PST) Original-Received: from rx by softland with local (Exim 4.97) (envelope-from ) id 1rWOJp-000000001Uq-0GcA; Sat, 03 Feb 2024 22:17:01 +0000 In-Reply-To: (David Thompson's message of "Sat, 3 Feb 2024 16:55:29 -0500") X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.50; envelope-from=rx@a-rx.info; helo=sender4-of-o50.zoho.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.lisp.guile.user:19433 Archived-At: "Thompson, David" writes: > This is a form of 'let' known as "named let". In the code you > reference, the variable 'lp' is a procedure, short for "loop", and the > let bindings give initial values for the loop. Calling 'lp' will bring > control back to the beginning of the 'let' with the bindings rebound > to new values. It's a convenient shorthand for simple loops. > > See https://www.gnu.org/software/guile/manual/html_node/while-do.html#index-let-1 > for more info. > > Hope this helps, > > - Dave OK, thanks a lot ... and yes: this does help indeed, (and I am list replying) -Andreas