From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: Accepting and returning multiple values in 'cl Date: Thu, 12 Mar 2009 13:07:42 +0900 Message-ID: References: <87prgnquvh.fsf@marie.gnufans.net> Reply-To: Miles Bader NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1236830886 29650 80.91.229.12 (12 Mar 2009 04:08:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 12 Mar 2009 04:08:06 +0000 (UTC) Cc: emacs-devel@gnu.org To: Dave Goel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 12 05:09:22 2009 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.50) id 1LhcET-0002Y6-HO for ged-emacs-devel@m.gmane.org; Thu, 12 Mar 2009 05:09:21 +0100 Original-Received: from localhost ([127.0.0.1]:59667 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LhcD6-0005ie-TN for ged-emacs-devel@m.gmane.org; Thu, 12 Mar 2009 00:07:56 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LhcD1-0005hi-BX for emacs-devel@gnu.org; Thu, 12 Mar 2009 00:07:51 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LhcD0-0005gX-Fr for emacs-devel@gnu.org; Thu, 12 Mar 2009 00:07:50 -0400 Original-Received: from [199.232.76.173] (port=43899 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LhcD0-0005gQ-9f for emacs-devel@gnu.org; Thu, 12 Mar 2009 00:07:50 -0400 Original-Received: from tyo202.gate.nec.co.jp ([202.32.8.206]:62003) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LhcCy-0006xd-27; Thu, 12 Mar 2009 00:07:48 -0400 Original-Received: from relay11.aps.necel.com ([10.29.19.46]) by tyo202.gate.nec.co.jp (8.13.8/8.13.4) with ESMTP id n2C47hHf015892; Thu, 12 Mar 2009 13:07:43 +0900 (JST) Original-Received: from relay31.aps.necel.com ([10.29.19.20] [10.29.19.20]) by relay11.aps.necel.com with ESMTP; Thu, 12 Mar 2009 13:07:42 +0900 Original-Received: from dhlpc061 ([10.114.114.241] [10.114.114.241]) by relay31.aps.necel.com with ESMTP; Thu, 12 Mar 2009 13:07:42 +0900 Original-Received: by dhlpc061 (Postfix, from userid 31295) id B9C7352E276; Thu, 12 Mar 2009 13:07:42 +0900 (JST) System-Type: x86_64-unknown-linux-gnu Blat: Foop In-Reply-To: <87prgnquvh.fsf@marie.gnufans.net> (Dave Goel's message of "Wed, 11 Mar 2009 23:32:02 -0400") Original-Lines: 19 X-detected-operating-system: by monty-python.gnu.org: Solaris 8 (1) 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:109580 Archived-At: Dave Goel writes: > It seems to me that CL can easily handle multiple values correctly. > Currently, it uses lists instead of multiple values, which is far less > than satisfactory. Just to cite one example, a user should be able to > use both these simultaneously: I'm not sure it's worth trying to develop the cl.el MRV stuff much unless it actually works like real CL MRVs: (1) _efficient_, no consing (2) seamlessly interoperable with SRVs (e.g., non-MRV-aware callers can just pretend a MRV function returns a single value, with no effort on their part) -Miles -- You can hack anything you want, with TECO and DDT.