From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Ryde Newsgroups: gmane.lisp.guile.devel Subject: Re: equal? on arrays Date: Wed, 29 Mar 2006 11:42:09 +1100 Message-ID: <87r74mytcu.fsf@zip.com.au> References: <8764mqkm5n.fsf@zip.com.au> <8764m2s3vo.fsf@minimini.mvo.home> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1143592957 1356 80.91.229.2 (29 Mar 2006 00:42:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 29 Mar 2006 00:42:37 +0000 (UTC) Cc: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Wed Mar 29 02:42:35 2006 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FOOlX-0008TE-3i for guile-devel@m.gmane.org; Wed, 29 Mar 2006 02:42:27 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FOOlW-0006N7-Fr for guile-devel@m.gmane.org; Tue, 28 Mar 2006 19:42:26 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FOOlT-0006Mp-Cj for guile-devel@gnu.org; Tue, 28 Mar 2006 19:42:23 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FOOlN-0006Ld-Vp for guile-devel@gnu.org; Tue, 28 Mar 2006 19:42:23 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FOOlN-0006LZ-RE for guile-devel@gnu.org; Tue, 28 Mar 2006 19:42:17 -0500 Original-Received: from [61.8.0.115] (helo=mailout2.pacific.net.au) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FOOnD-0003a8-I2 for guile-devel@gnu.org; Tue, 28 Mar 2006 19:44:11 -0500 Original-Received: from mailproxy1.pacific.net.au (mailproxy1.pacific.net.au [61.8.0.86]) by mailout2.pacific.net.au (Postfix) with ESMTP id E1A547DCB8; Wed, 29 Mar 2006 11:42:15 +1100 (EST) Original-Received: from localhost (ppp22DF.dyn.pacific.net.au [61.8.34.223]) by mailproxy1.pacific.net.au (8.13.4/8.13.4/Debian-3) with ESMTP id k2T053L4027083; Wed, 29 Mar 2006 11:05:04 +1100 Original-Received: from gg by localhost with local (Exim 3.36 #1 (Debian)) id 1FOOlG-0002RC-00; Wed, 29 Mar 2006 11:42:10 +1100 Original-To: Marius Vollmer Mail-Copies-To: never In-Reply-To: <8764m2s3vo.fsf@minimini.mvo.home> (Marius Vollmer's message of "25 Mar 2006 21:47:39 +0200") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:5821 Archived-At: Marius Vollmer writes: > > It should clearly be possible to use equal? with all kinds of arrays. > If this isn't the case, we would need to fix. Eg, picking out a diagonal with a shared array: (equal? (make-shared-array #2((a b c) (d e f) (g h i)) (lambda (i) (list i i)) '(0 2)) #(a e i)) => #f but with array-equal? it's #t. It was this way in guile 1.6 too, but never really documented under equal?, unless you know or thought a shared array is not really an array. _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel