From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: if-let and when-let: parallel or sequential Date: Mon, 11 Aug 2014 10:42:19 -0400 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1407769228 31020 80.91.229.3 (11 Aug 2014 15:00:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 Aug 2014 15:00:28 +0000 (UTC) Cc: John Mastro , emacs-devel@gnu.org To: Bozhidar Batsov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 11 17:00:21 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XGr59-0002kS-P4 for ged-emacs-devel@m.gmane.org; Mon, 11 Aug 2014 17:00:19 +0200 Original-Received: from localhost ([::1]:36551 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XGr59-0003qp-94 for ged-emacs-devel@m.gmane.org; Mon, 11 Aug 2014 11:00:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44541) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XGqnt-00014m-Mt for emacs-devel@gnu.org; Mon, 11 Aug 2014 10:42:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XGqnk-0007fS-U1 for emacs-devel@gnu.org; Mon, 11 Aug 2014 10:42:29 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:58794) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XGqnk-0007eT-MQ for emacs-devel@gnu.org; Mon, 11 Aug 2014 10:42:20 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArYGAIDvNVPAqyKr/2dsb2JhbABZgwaDSlK/a4EXF3SCJQEBAQECASMzIwULCxoCGA4CAhQYDSSIBAivG6J+F4EpjR4zB4JvgUkEqwODTCE X-IPAS-Result: ArYGAIDvNVPAqyKr/2dsb2JhbABZgwaDSlK/a4EXF3SCJQEBAQECASMzIwULCxoCGA4CAhQYDSSIBAivG6J+F4EpjR4zB4JvgUkEqwODTCE X-IronPort-AV: E=Sophos;i="4.97,753,1389762000"; d="scan'208";a="85457532" Original-Received: from 192-171-34-171.cpe.pppoe.ca (HELO pastel.home) ([192.171.34.171]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 11 Aug 2014 10:42:20 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id D3E4160498; Mon, 11 Aug 2014 10:42:19 -0400 (EDT) In-Reply-To: (Bozhidar Batsov's message of "Mon, 11 Aug 2014 15:01:26 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:173571 Archived-At: > if-let and when-let don=E2=80=99t make much sense with more than one bind= ing > form. Why do you think so? If they only work for a single binding, the benefit is really minor. It's only when you use several bindings that the benefit becomes more significant (the alternative being either a very deeply nested code, or separating the var's declarations from their initialization). Stefan