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: emacs lisp syntax rfc: (cond (EXPR => (lambda (X) ...))) Date: Thu, 06 Jan 2011 22:49:24 -0500 Message-ID: References: <87tyhoa67u.fsf@ambire.localdomain> <20110105.234046.1611011828799323301.hanche@math.ntnu.no> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1294373364 15510 80.91.229.12 (7 Jan 2011 04:09:24 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 7 Jan 2011 04:09:24 +0000 (UTC) Cc: emacs-devel@gnu.org To: Helmut Eller Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 07 05:09:19 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Pb3de-0005NM-3K for ged-emacs-devel@m.gmane.org; Fri, 07 Jan 2011 05:09:18 +0100 Original-Received: from localhost ([127.0.0.1]:32916 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pb3NK-0003IQ-1b for ged-emacs-devel@m.gmane.org; Thu, 06 Jan 2011 22:52:26 -0500 Original-Received: from [140.186.70.92] (port=50272 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pb3L3-000327-JC for emacs-devel@gnu.org; Thu, 06 Jan 2011 22:52:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pb3KP-0006KG-Mb for emacs-devel@gnu.org; Thu, 06 Jan 2011 22:49:26 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:25573 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pb3KP-0006KC-KJ for emacs-devel@gnu.org; Thu, 06 Jan 2011 22:49:25 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAHMcJk1MCpdc/2dsb2JhbACkHnS9C4VMBIRnjiA X-IronPort-AV: E=Sophos;i="4.60,286,1291611600"; d="scan'208";a="87277675" Original-Received: from 76-10-151-92.dsl.teksavvy.com (HELO pastel.home) ([76.10.151.92]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 06 Jan 2011 22:49:25 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id B445458B92; Thu, 6 Jan 2011 22:49:24 -0500 (EST) In-Reply-To: (Helmut Eller's message of "Thu, 06 Jan 2011 09:24:15 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:134341 Archived-At: >> and have exp1 only evaluated the first time var is used. But we don't >> want to add laziness, do we? > Can't you add those exotic cases to pcase? Or perhaps add a pcond and a > plet. Please keep cond as it is. Right now, there's no plan whatsoever. Any addition to the basic special forms will need to be very well argumented (and come with a patch that handles all the relevant cases, including byte-compiler). Addition of a new macro OTOH is very straightforward, so I'd expect any such change to take the form of a new macro. Stefan