From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: User-reserved element in byte code vectors Date: Mon, 3 May 2004 15:57:01 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <20040503195701.GD21891@fencepost> References: <85smepfzqo.fsf@junk.nocrew.org> <85ad0wfkms.fsf_-_@junk.nocrew.org> <85oepcdts4.fsf_-_@junk.nocrew.org> <85vfjf9s4j.fsf@junk.nocrew.org> <20040502094316.GB2836@fencepost> <85fzaiakb9.fsf@junk.nocrew.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1083615096 11505 80.91.224.253 (3 May 2004 20:11:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 3 May 2004 20:11:36 +0000 (UTC) Cc: Lars Brinkhoff , emacs-devel@gnu.org, miles@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon May 03 22:11:29 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BKjmj-0001VM-00 for ; Mon, 03 May 2004 22:11:29 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BKjmi-0006LK-00 for ; Mon, 03 May 2004 22:11:28 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BKjZX-0000NN-Fa for emacs-devel@quimby.gnus.org; Mon, 03 May 2004 15:57:51 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BKjZS-0000N7-3f for emacs-devel@gnu.org; Mon, 03 May 2004 15:57:46 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BKjYv-0000CN-7p for emacs-devel@gnu.org; Mon, 03 May 2004 15:57:44 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BKjYu-0000Bm-6U for emacs-devel@gnu.org; Mon, 03 May 2004 15:57:12 -0400 Original-Received: from miles by fencepost.gnu.org with local (Exim 4.24) id 1BKjYj-0000sI-QV; Mon, 03 May 2004 15:57:01 -0400 Original-To: Richard Stallman Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i Blat: Foop X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:22645 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:22645 On Mon, May 03, 2004 at 10:03:24AM -0400, Richard Stallman wrote: > All else being equal, I would rather use bytecode objects than vectors > for something funcallable. What I'm proposing -- `curried functions' -- are not related to bytecode objects at all, they may simply be used as a (more general) alternative to the functionality Lars was trying to accomplish by stuffing stuff into bytecode vectors. Because they are more general (and indeed are generally very useful), I think they're a better solution than a special-case hack for bytecode objects. If you just don't like vectors being funcallable, then of course (e.g.) another special-purpose vector type could be used instead. However it would be nice if it were printable, and if users could set/access the elements easily; by using standard vectors, these things come for free. -Miles -- I'm beginning to think that life is just one long Yoko Ono album; no rhyme or reason, just a lot of incoherent shrieks and then it's over. --Ian Wolff