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.user Subject: Question about vectors, arrays, uniform vectors Date: Mon, 4 Nov 2002 12:44:33 +0100 Sender: guile-user-admin@gnu.org Message-ID: <20021104114432.GA1701@www> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1036454276 22336 80.91.224.249 (4 Nov 2002 23:57:56 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 4 Nov 2002 23:57:56 +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 188r6O-0005nm-00 for ; Tue, 05 Nov 2002 00:57:52 +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 188qzQ-0002zR-00; Mon, 04 Nov 2002 18:50:40 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 188gjT-0003P9-00 for guile-user@gnu.org; Mon, 04 Nov 2002 07:53:31 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 188gjP-0003OW-00 for guile-user@gnu.org; Mon, 04 Nov 2002 07:53:29 -0500 Original-Received: from [217.22.192.104] (helo=www.elogos.de) by monty-python.gnu.org with esmtp (Exim 4.10) id 188fZQ-0003Fe-00 for guile-user@gnu.org; Mon, 04 Nov 2002 06:39:05 -0500 Original-Received: by www.elogos.de (Postfix, from userid 5002) id 6361A14DC8; Mon, 4 Nov 2002 12:44:33 +0100 (CET) Original-To: guile-user@gnu.org Content-Disposition: inline User-Agent: Mutt/1.3.28i Errors-To: guile-user-admin@gnu.org X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.lisp.guile.user:1328 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:1328 Hi, is there a canonical way to find out whether an SCM is an array? (for a vector there is scm_vector_p(), for an array I've just found scm_array_p(), which takes a second argument, the element `type'. I'd go with an array of numbers, i.e. anything I can convert to a double). Do I have to check for every possible element type (i.e. int, float, double, etc?). Thanks -- tomas _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://mail.gnu.org/mailman/listinfo/guile-user