From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.devel Subject: Re: [Guile-commits] GNU Guile branch, master, updated. 782a82eed13abb64393f7acad92758ae191ce509 Date: Fri, 19 Jun 2009 09:50:54 +0200 Message-ID: References: <878wk577s2.fsf@gnu.org> <861vph1e3o.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1245398036 9895 80.91.229.12 (19 Jun 2009 07:53:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 19 Jun 2009 07:53:56 +0000 (UTC) Cc: guile-devel@gnu.org To: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Fri Jun 19 09:53:52 2009 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MHYv0-000377-9s for guile-devel@m.gmane.org; Fri, 19 Jun 2009 09:53:50 +0200 Original-Received: from localhost ([127.0.0.1]:55919 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MHYuz-0001I3-N3 for guile-devel@m.gmane.org; Fri, 19 Jun 2009 03:53:49 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MHYuw-0001HG-8S for guile-devel@gnu.org; Fri, 19 Jun 2009 03:53:46 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MHYur-0001Fl-LD for guile-devel@gnu.org; Fri, 19 Jun 2009 03:53:45 -0400 Original-Received: from [199.232.76.173] (port=36058 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MHYur-0001Fi-FW for guile-devel@gnu.org; Fri, 19 Jun 2009 03:53:41 -0400 Original-Received: from a-sasl-fastnet.sasl.smtp.pobox.com ([207.106.133.19]:36048 helo=sasl.smtp.pobox.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MHYuo-0003oD-H3; Fri, 19 Jun 2009 03:53:38 -0400 Original-Received: from localhost.localdomain (unknown [127.0.0.1]) by a-sasl-fastnet.sasl.smtp.pobox.com (Postfix) with ESMTP id 76094BC862; Fri, 19 Jun 2009 03:53:36 -0400 (EDT) Original-Received: from unquote (unknown [82.123.244.190]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-sasl-fastnet.sasl.smtp.pobox.com (Postfix) with ESMTPSA id B1895BC861; Fri, 19 Jun 2009 03:53:34 -0400 (EDT) In-Reply-To: <861vph1e3o.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Thu, 18 Jun 2009 22:28:11 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux) X-Pobox-Relay-ID: 4B3E4774-5CA6-11DE-A9D3-97731A10BFE7-02397024!a-sasl-fastnet.pobox.com X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) 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:8707 Archived-At: Howdy, On Thu 18 Jun 2009 22:28, ludo@gnu.org (Ludovic Court=C3=A8s) writes: > Andy Wingo writes: > >>>> + uniform-array->bytevector >>> >>> I would not export it from `(rnrs bytevector)' given that it has nothing >>> to do with RnRS. >> >> No, but it does have to with bytevectors... Where would you put it? > > Dunno, maybe not anywhere public? Er, I wrote it so I could use it in my code... Not being able to get at the bits of uniform arrays from Scheme has been a sorely missing feature for a long time now... >>> Also, I would make the new C functions private, given that they are not >>> intended for general use AIUI. >> >> Dunno. I could imagine calling both of them from C. Would there be a >> problem with leaving them to be public? > > Yes, while we're not more confident wrt. shared arrays and similar. What do you mean? I think that shared arrays will be attempted to be linearized via scm_array_contents, which will throw an error for a non-contiguous array. That's as good as we can do, no? Andy --=20 http://wingolog.org/