From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Daniel Llorens Newsgroups: gmane.lisp.guile.user Subject: Re: name an array function Date: Mon, 21 Nov 2016 14:42:58 +0100 Message-ID: <464A9A58-83D3-4C53-A936-BC2C83BC402C@bluewin.ch> References: <20161121125556.GA12982@tuxteam.de> <89CFAA9E-77F7-4428-AA59-72F9AB8796D7@bluewin.ch> <20161121132405.GA14580@tuxteam.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1479735824 10446 195.159.176.226 (21 Nov 2016 13:43:44 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 21 Nov 2016 13:43:44 +0000 (UTC) Cc: guile-user@gnu.org To: tomas@tuxteam.de Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Mon Nov 21 14:43:35 2016 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c8osd-00013y-OQ for guile-user@m.gmane.org; Mon, 21 Nov 2016 14:43:31 +0100 Original-Received: from localhost ([::1]:49569 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c8osh-0001dc-44 for guile-user@m.gmane.org; Mon, 21 Nov 2016 08:43:35 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55524) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c8osJ-0001dX-Oz for guile-user@gnu.org; Mon, 21 Nov 2016 08:43:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c8osG-0007t5-Ma for guile-user@gnu.org; Mon, 21 Nov 2016 08:43:11 -0500 Original-Received: from vimdzmsp-sfwd05.bluewin.ch ([195.186.120.133]:40144 helo=smtpauths.lb.bluewin.ch) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c8osG-0007ri-FM for guile-user@gnu.org; Mon, 21 Nov 2016 08:43:08 -0500 Original-Received: from 4box.hq.corp.viasat.com ([213.193.80.99]) by vimdzmsp-sfwd05.bluewin.ch Swisscom AG with SMTP id 8osAcEy5DT15y8osBcjgN5; Mon, 21 Nov 2016 14:43:05 +0100 X-Bluewin-Spam-Analysis: v=2.1 cv=LrUysipc c=1 sm=1 tr=0 a=DzaHVtLsrNCQ5PccsnG91A==:117 a=DzaHVtLsrNCQ5PccsnG91A==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=kj9zAlcOel0A:10 a=OWvFecs4z8W0a08JnNYA:9 a=CjuIK1q_8ugA:10 X-Bluewin-Spam-Score: 0.00 X-FXIT-IP: IPv4[213.193.80.99] Epoch[1479735785] X-Bluewin-AuthAs: dll@bluewin.ch In-Reply-To: <20161121132405.GA14580@tuxteam.de> X-Mailer: Apple Mail (2.1878.6) X-CMAE-Envelope: MS4wfJzw0tmcHV+B55+yJYKbkNCmkyiAVRyu+U4u8hbSDqrbzcnJFwf+zLe1MPFDlXslnDMXrPNifPmIgSZtw9/mDkF2aEmuY8XjE9zAix5R5vtZGI3a3DBk M3Nx2jbXDW3JRh0Ic6gQUrBejw8QBIq/jq2m2k9nMbYfvBYa26DCpAfxCGF4jl1BdmIPsYZohFE6G/T7RUVp8kbw6M6cH9CJt8k= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 195.186.120.133 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 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 Original-Sender: "guile-user" Xref: news.gmane.org gmane.lisp.guile.user:12999 Archived-At: On 21 Nov 2016, at 14:24, tomas@tuxteam.de wrote: > So should "slice" prevail, it'd make sense to "invert" the star > (array-slice corresponding to array-from* and vice-versa)? I think it's more important to give the simpler names to the functions = that are more commonly used. So I would keep the name array-slice* for = the function that returns #0(a), in spite of logic. Of course, that's one reason why I don't like array-slice too much! > Had I to look it up by name without any idea of what to look > for, I'd never come up with array-from, whereas I'd have a faint > chance of coming up with array-slice; that said, the most > ergonomic choice would still be (an extension of) array-ref et > al. or some close relative. Yeah, I do see your point.