From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Mark H Weaver Newsgroups: gmane.lisp.guile.user Subject: Re: Anaphoric macros like when-let Date: Sun, 27 Aug 2017 16:24:30 -0400 Message-ID: <87lgm4kbcx.fsf@netris.org> References: <1a0f67f3.AEAAO93SX5gAAAAAAAAAAAPWCvIAAAACwQwAAAAAAAW9WABZodBb@mailjet.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1503865527 16601 195.159.176.226 (27 Aug 2017 20:25:27 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 27 Aug 2017 20:25:27 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) Cc: Guile User To: Arun Isaac Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sun Aug 27 22:25:22 2017 Return-path: Envelope-to: guile-user@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 1dm47M-0003c6-Km for guile-user@m.gmane.org; Sun, 27 Aug 2017 22:25:12 +0200 Original-Received: from localhost ([::1]:35272 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dm47T-0006zx-Gf for guile-user@m.gmane.org; Sun, 27 Aug 2017 16:25:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40194) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dm474-0006zh-Vu for guile-user@gnu.org; Sun, 27 Aug 2017 16:24:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dm471-0003fN-1F for guile-user@gnu.org; Sun, 27 Aug 2017 16:24:54 -0400 Original-Received: from world.peace.net ([50.252.239.5]:41776) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dm470-0003ei-TO for guile-user@gnu.org; Sun, 27 Aug 2017 16:24:50 -0400 Original-Received: from pool-72-93-33-39.bstnma.east.verizon.net ([72.93.33.39] helo=jojen) by world.peace.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dm46z-0003o0-GG; Sun, 27 Aug 2017 16:24:49 -0400 In-Reply-To: <1a0f67f3.AEAAO93SX5gAAAAAAAAAAAPWCvIAAAACwQwAAAAAAAW9WABZodBb@mailjet.com> (Arun Isaac's message of "Sun, 27 Aug 2017 01:17:13 +0530") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 50.252.239.5 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 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:14067 Archived-At: Arun Isaac writes: > Is there a Scheme or Guile equivalent to Emacs Lisp's `when-let' ? I have nothing to add to Matt and Kyle's answers, except to mention that 'when-let' is not actually an anaphoric macro. Anaphoric macros are those that introduce a binding that is not named by the user, e.g. 'it', which is called an anaphor. For more, see: https://en.wikipedia.org/wiki/Anaphoric_macro Mark