From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stephen Compall Newsgroups: gmane.lisp.guile.user Subject: Re: screwy alist syntax Date: 16 Apr 2004 16:04:53 -0500 Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1082149690 18753 80.91.224.253 (16 Apr 2004 21:08:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 16 Apr 2004 21:08:10 +0000 (UTC) Cc: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Fri Apr 16 23:07:58 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 1BEaZ3-0006Md-00 for ; Fri, 16 Apr 2004 23:07:57 +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 1BEaYq-00058C-5s for guile-user@m.gmane.org; Fri, 16 Apr 2004 17:07:44 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BEaYc-00056C-EP for guile-user@gnu.org; Fri, 16 Apr 2004 17:07:30 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BEaY6-0004xV-Fj for guile-user@gnu.org; Fri, 16 Apr 2004 17:07:29 -0400 Original-Received: from [192.195.228.35] (helo=csserver.evansville.edu) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.30) id 1BEaWL-0003ZY-I2 for guile-user@gnu.org; Fri, 16 Apr 2004 17:05:09 -0400 Original-Received: from csserver.evansville.edu (localhost.localdomain [127.0.0.1]) by csserver.evansville.edu (8.12.8/8.12.8) with ESMTP id i3GL50kc009639; Fri, 16 Apr 2004 16:05:00 -0500 Original-Received: (from sc87@localhost) by csserver.evansville.edu (8.12.8/8.12.8/Submit) id i3GL4saP009635; Fri, 16 Apr 2004 16:04:54 -0500 X-Authentication-Warning: csserver.evansville.edu: sc87 set sender to s11@member.fsf.org using -f Original-To: Brian S McQueen In-Reply-To: Original-Lines: 27 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.4 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:3091 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:3091 Brian S McQueen writes: > I just noticed something that looks screwy. Is there a good reason for > the following? > > The assq func take a key and an alist: > > assq key alist > ... > BUT the assq-ref func take an alist and a key, which is the opposite > order: > > assq-ref alist key > ... Just making up stuff here, but I think that `assq' et al are historic Lisp functions, and so were left as they were. However, `assq-ref' et al are new, so can have the `right' order. They aren't in Emacs, anyway. -- Stephen Compall or s11 or sirian Most people's favorite way to end a game is by winning. Mena monarchist AFSPC analyzer arrangements quarter Ft. Bragg MILSATCOM BRLO Consul Reno kilo class Europol JFK Roswell _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://mail.gnu.org/mailman/listinfo/guile-user