From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Marius Vollmer Newsgroups: gmane.lisp.guile.user,gmane.lisp.guile.devel Subject: Re: overriding car/cdr Date: Sun, 08 Feb 2004 19:09:10 +0100 Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Message-ID: <87znbtbfzt.fsf@zagadka.ping.de> References: <1074246064.6729.23.camel@localhost> <87vfn9ufvw.fsf@zagadka.ping.de> <400FF648.3080706@dirk-herrmanns-seiten.de> <200401221842.KAA20956@morrowfield.regexps.com> <40110961.1040808@dirk-herrmanns-seiten.de> <200401231716.JAA26107@morrowfield.regexps.com> <87oesus7kg.fsf@zagadka.ping.de> <20040124120954.GB6589@www> <87k73hpj9n.fsf@zagadka.ping.de> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1076264056 17520 80.91.224.253 (8 Feb 2004 18:14:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 8 Feb 2004 18:14:16 +0000 (UTC) Cc: guile-user@gnu.org, guile-devel@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sun Feb 08 19:14:00 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AptRQ-0001lo-00 for ; Sun, 08 Feb 2004 19:14:00 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AptNk-0002HS-1t for guile-user@m.gmane.org; Sun, 08 Feb 2004 13:10:12 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AptNM-0002HL-Tp for guile-user@gnu.org; Sun, 08 Feb 2004 13:09:48 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AptMq-0002Be-5j for guile-user@gnu.org; Sun, 08 Feb 2004 13:09:47 -0500 Original-Received: from [195.253.8.218] (helo=mail.dokom.net) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AptMp-0002Ba-R5 for guile-user@gnu.org; Sun, 08 Feb 2004 13:09:15 -0500 Original-Received: from [195.253.16.169] (helo=zagadka.ping.de) by mail.dokom.net with smtp (Exim 3.36 #3) id 1AptNv-0004Di-00 for guile-user@gnu.org; Sun, 08 Feb 2004 19:10:23 +0100 Original-Received: (qmail 3092 invoked by uid 1000); 8 Feb 2004 18:09:10 -0000 Original-To: rm@fabula.de In-Reply-To: (Paul Jarc's message of "Sun, 25 Jan 2004 21:42:39 -0500") User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.user:2769 gmane.lisp.guile.devel:3349 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:3349 prj@po.cwru.edu (Paul Jarc) writes: > Marius Vollmer wrote: >> Hmm, my immediate reaction is that car/cdr are too low-level for >> making them overrideable, but map and for-each and other operations >> that work on whole sequences look like good targets... > > Going that route, there will always be one more function that someone > wants to be converted. But car/cdr are not a good way to work with general sequences. Think of vectors. We should not try hard to turn car/cdr into something abstract (which they are not, even their names come from the lowest level). Somehthing like the 'sequence' concept of Common Lisp is a better approach, I'd say. -- GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3 331E FAF8 226A D5D4 E405 _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://mail.gnu.org/mailman/listinfo/guile-user