From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Arun Isaac Newsgroups: gmane.lisp.guile.bugs Subject: bug#30144: [PATCH] doc: Document (ice-9 match) macros. Date: Sat, 17 Mar 2018 04:57:17 +0530 Message-ID: References: <20180117122504.25583-1-arunisaac@systemreboot.net> <87woyc4qcs.fsf@netris.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1521242777 16545 195.159.176.226 (16 Mar 2018 23:26:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 16 Mar 2018 23:26:17 +0000 (UTC) Cc: 30144@debbugs.gnu.org To: Mark H Weaver Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Sat Mar 17 00:26:13 2018 Return-path: Envelope-to: guile-bugs@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 1ewyjk-0004DH-Qc for guile-bugs@m.gmane.org; Sat, 17 Mar 2018 00:26:12 +0100 Original-Received: from localhost ([::1]:59990 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ewyln-0002Ur-KO for guile-bugs@m.gmane.org; Fri, 16 Mar 2018 19:28:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38512) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ewylb-0002TL-Nd for bug-guile@gnu.org; Fri, 16 Mar 2018 19:28:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ewylW-0007pP-Pl for bug-guile@gnu.org; Fri, 16 Mar 2018 19:28:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:57727) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ewylW-0007ox-JI for bug-guile@gnu.org; Fri, 16 Mar 2018 19:28:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ewylW-0005fx-82 for bug-guile@gnu.org; Fri, 16 Mar 2018 19:28:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Fri, 16 Mar 2018 23:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30144 X-GNU-PR-Package: guile X-GNU-PR-Keywords: patch Original-Received: via spool by 30144-submit@debbugs.gnu.org id=B30144.152124285421781 (code B ref 30144); Fri, 16 Mar 2018 23:28:02 +0000 Original-Received: (at 30144) by debbugs.gnu.org; 16 Mar 2018 23:27:34 +0000 Original-Received: from localhost ([127.0.0.1]:37391 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ewyl4-0005fF-1a for submit@debbugs.gnu.org; Fri, 16 Mar 2018 19:27:34 -0400 Original-Received: from vultr.systemreboot.net ([45.77.148.100]:35046) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ewyl2-0005f1-2s for 30144@debbugs.gnu.org; Fri, 16 Mar 2018 19:27:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Type:MIME-Version:Message-ID:Date: References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=XLsxiNxY8Ac7Cpss71J+UcBvRcdH+MO0oocl+BI8ROM=; b=VsbeCCPFr6pyK442XXzzmflXh Isr8J1STxr0wSvLQlbxx7NNplTdeiZvfmzfVhbgSpsjhEmv/HX0ph+WGaZ4nDk/Uuh/4Hk5qhup18 IG18qC5AajbN8eQPM8cCcNmO/UMEwc2Zv3dCdPGXJB9p4qOMUdqX5EN0V5tIkKvW0cnUQ=; Original-Received: from [61.3.26.0] (helo=steel) by systemreboot.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ewyko-0001W1-Fl; Sat, 17 Mar 2018 04:57:18 +0530 In-Reply-To: <87woyc4qcs.fsf@netris.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.org gmane.lisp.guile.bugs:9029 Archived-At: >> +Match each variable to the corresponding expression, and evaluate the >> +body with all matched variables in scope. Raise an error if any of the >> +expressions fail to match. @code{match-let} is analogous to named let > > It's only analogous to a named let if a variable name is inserted > immediately after 'match-let', before the clauses. In fact, the > named-let case is not covered by the first line of your definition where > you give the syntax. > How about removing any mention of named-let in this definition, and then > add a separate brief definition for the named-let variant of > 'match-let'? It might be worthwhile to keep them separate given that > their use cases and relevant examples are so different. What do you > think? I have made all the other changes except this one. I have never used match-let analogous to a named let, and am unable to get a working example. If you could show me a working example, I'll add it to the new patch. I'll send you the revised patch once we decide on the above. Thanks!