From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Brian S McQueen Newsgroups: gmane.lisp.guile.user Subject: screwy alist syntax Date: Thu, 15 Apr 2004 16:11:35 -0700 (PDT) Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: sea.gmane.org 1082071117 23224 80.91.224.253 (15 Apr 2004 23:18:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 15 Apr 2004 23:18:37 +0000 (UTC) Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Fri Apr 16 01:18:27 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 1BEG7n-0000yZ-00 for ; Fri, 16 Apr 2004 01:18:27 +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 1BEG37-0000Mt-U6 for guile-user@m.gmane.org; Thu, 15 Apr 2004 19:13:37 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BEG2R-0007tp-FI for guile-user@gnu.org; Thu, 15 Apr 2004 19:12:55 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BEG1N-0005hB-7Z for guile-user@gnu.org; Thu, 15 Apr 2004 19:12:21 -0400 Original-Received: from [129.99.113.17] (helo=marcy.nas.nasa.gov) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BEG1B-0005Ru-IR for guile-user@gnu.org; Thu, 15 Apr 2004 19:11:37 -0400 Original-Received: from marcy.nas.nasa.gov (localhost [127.0.0.1]) by marcy.nas.nasa.gov (8.12.10+Sun/8.12.10/NAS-6n) with ESMTP id i3FNBZi8011096 for ; Thu, 15 Apr 2004 16:11:35 -0700 (PDT) Original-Received: from localhost (bqueen@localhost) by marcy.nas.nasa.gov (8.12.10+Sun/8.12.10/Submit) with ESMTP id i3FNBZ1d011092 for ; Thu, 15 Apr 2004 16:11:35 -0700 (PDT) Original-To: guile-user@gnu.org 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:3084 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:3084 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 assv key alist assoc key alist scm_assq (key, alist) scm_assv (key, alist) scm_assoc (key, alist) BUT the assq-ref func take an alist and a key, which is the opposite order: assq-ref alist key assv-ref alist key assoc-ref alist key scm_assq_ref (alist, key) scm_assv_ref (alist, key) scm_assoc_ref (alist, key) I think these should two classes of functions should have their args in the same order. Brian McQueen NAS Division NASA/Ames _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://mail.gnu.org/mailman/listinfo/guile-user