unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Miles Bader <miles@gnu.org>
To: Dave Goel <deego3@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Accepting and returning multiple values in 'cl
Date: Thu, 12 Mar 2009 13:07:42 +0900	[thread overview]
Message-ID: <buotz5zs7sh.fsf@dhlpc061.dev.necel.com> (raw)
In-Reply-To: <87prgnquvh.fsf@marie.gnufans.net> (Dave Goel's message of "Wed,  11 Mar 2009 23:32:02 -0400")

Dave Goel <deego3@gmail.com> 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.




  reply	other threads:[~2009-03-12  4:07 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-12  3:32 Accepting and returning multiple values in 'cl Dave Goel
2009-03-12  4:07 ` Miles Bader [this message]
2009-03-12  4:11   ` Dave Goel
2009-03-12  4:41     ` Jonathan Rockway
2009-03-12 16:25   ` Dave Goel
     [not found]     ` <jwvzlfqhawb.fsf-monnier+emacs@gnu.org>
     [not found]       ` <87bps6ip3n.fsf@marie.gnufans.net>
     [not found]         ` <jwv4oxyh74y.fsf-monnier+emacs@gnu.org>
2009-03-12 19:57           ` Dave Goel
2009-03-12 21:03             ` Stefan Monnier
2009-03-13 19:05               ` Dave Goel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=buotz5zs7sh.fsf@dhlpc061.dev.necel.com \
    --to=miles@gnu.org \
    --cc=deego3@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).