From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: tomas@fabula.de Newsgroups: gmane.lisp.guile.devel,gmane.lisp.guile.user Subject: Strange behaviour of array? Date: Tue, 5 Nov 2002 12:57:06 +0100 Sender: guile-devel-admin@gnu.org Message-ID: <20021105115705.GA6539@www> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1036498086 6781 80.91.224.249 (5 Nov 2002 12:08:06 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 5 Nov 2002 12:08:06 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1892V2-0001lF-00 for ; Tue, 05 Nov 2002 13:08:04 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 1892Ov-0005ts-00; Tue, 05 Nov 2002 07:01:45 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 1892EU-0003i0-00 for guile-devel@gnu.org; Tue, 05 Nov 2002 06:50:58 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 1892EQ-0003hd-00 for guile-devel@gnu.org; Tue, 05 Nov 2002 06:50:57 -0500 Original-Received: from [217.22.192.104] (helo=www.elogos.de) by monty-python.gnu.org with esmtp (Exim 4.10) id 1892EP-0003gt-00; Tue, 05 Nov 2002 06:50:54 -0500 Original-Received: by www.elogos.de (Postfix, from userid 5002) id 3643814DC8; Tue, 5 Nov 2002 12:57:06 +0100 (CET) Original-To: guile-devel@gnu.org, guile-user@gnu.org Content-Disposition: inline User-Agent: Mutt/1.3.28i Errors-To: guile-devel-admin@gnu.org X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Developers list for Guile, the GNU extensibility library List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.lisp.guile.devel:1644 gmane.lisp.guile.user:1331 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:1331 Hi, while playing around with arrays (see my dumb questions in guile-user) I stumbled across this: | guile> (array? #f) | #f | guile> (array? 13) | #f | guile> (array? 'thisisasymbol) | #t | guile> (array? (list 1 2 3 4)) | #t | guile> (array? 1.5) | #f | guile> (array? 3/4) | #f | guile> (array? +) | #t | guile> (array? 13228374653846507238652384) | #f It seems that many non-immediate values returns #t on array?. Looking at the source (libguile/unif.c, around line 280) kind of semi-confirms this (as far as I understand this tagging business). This is against guile 1.6.0 as released (I haven't the time to check now against CVS for lack of a suitable autoconf :-( Regards -- tomas _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel