From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daniel Llorens Newsgroups: gmane.lisp.guile.devel Subject: Re: vectors are something else Date: Sat, 13 Apr 2013 01:12:51 +0200 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1365808376 17316 80.91.229.3 (12 Apr 2013 23:12:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Apr 2013 23:12:56 +0000 (UTC) To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sat Apr 13 01:12:59 2013 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UQn9P-00044l-BX for guile-devel@m.gmane.org; Sat, 13 Apr 2013 01:12:59 +0200 Original-Received: from localhost ([::1]:37380 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UQn9O-0006NF-S6 for guile-devel@m.gmane.org; Fri, 12 Apr 2013 19:12:58 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:54794) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UQn9L-0006Ky-Hn for guile-devel@gnu.org; Fri, 12 Apr 2013 19:12:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UQn9K-0002rE-C8 for guile-devel@gnu.org; Fri, 12 Apr 2013 19:12:55 -0400 Original-Received: from zhbdzmsp-smta15.bluewin.ch ([195.186.99.132]:54436) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UQn9K-0002pe-5J for guile-devel@gnu.org; Fri, 12 Apr 2013 19:12:54 -0400 Original-Received: from [195.186.227.131] ([195.186.227.131:61179] helo=zhhdzmsp-smta14.bluewin.ch) by zhbdzmsp-smta15.bluewin.ch (envelope-from ) (ecelerity 2.2.3.47 r(39824M)) with ESMTP id B9/D8-14388-3F498615; Fri, 12 Apr 2013 23:12:52 +0000 Original-Received: from [10.0.1.10] (62.203.248.240) by zhhdzmsp-smta14.bluewin.ch (8.5.142) (authenticated as dll@bluewin.ch) id 511CD83E050EDE2D for guile-devel@gnu.org; Fri, 12 Apr 2013 23:12:51 +0000 In-Reply-To: X-Mailer: Apple Mail (2.1085) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 195.186.99.132 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:16234 Archived-At: Date: Fri, 12 Apr 2013 22:06:38 +0800 From: Daniel Hartwig > Great. This strikes a nice balance, with simple enough semantics > and flexability to massage array data for vector-coded modules. > I doubt _anyone_ will miss using non-0-indexed arrays that way. I personally think that offset indexing is a 100% useless feature and = I'd happily drop it altogether from the array interface. But since it's = there, it should work. > This also matches the note in the manual about vectors being the > special case of rank-1 arrays. It is implied that these are > 0-indexed, rank-1 arrays. Yes, the manual does say the same thing about uniform vectors. >> http://trac.sacrideo.us/wg/wiki/ArraysCowan >=20 > Neat. To be honest, I don't like this interface too much. It seems based on = early APL... of course Guile's is much smaller and is missing many = things. We could pick up the obvious things, such as array-copy, = array-reverse, array-reshape. I'm sending the patches on a separate message. Regards, Daniel