GNU bug report logs - #18225
Lack of type-converting shared arrays (feature request)

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guile; Severity: wishlist; Reported by: Panicz Maciej Godek <godek.maciek@HIDDEN>; dated Fri, 8 Aug 2014 15:49:01 UTC; Maintainer for guile is bug-guile@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 8 Aug 2014 15:48:36 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Aug 08 11:48:36 2014
Received: from localhost ([127.0.0.1]:35601 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1XFmPD-0008DV-Gj
	for submit <at> debbugs.gnu.org; Fri, 08 Aug 2014 11:48:35 -0400
Received: from eggs.gnu.org ([208.118.235.92]:55027)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <godek.maciek@HIDDEN>) id 1XFmPA-0008DG-T1
 for submit <at> debbugs.gnu.org; Fri, 08 Aug 2014 11:48:33 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <godek.maciek@HIDDEN>) id 1XFmP4-0001Fo-SD
 for submit <at> debbugs.gnu.org; Fri, 08 Aug 2014 11:48:27 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,
 T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:58074)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <godek.maciek@HIDDEN>) id 1XFmP4-0001Fi-P0
 for submit <at> debbugs.gnu.org; Fri, 08 Aug 2014 11:48:26 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:56666)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <godek.maciek@HIDDEN>) id 1XFmP3-0004QQ-JD
 for bug-guile@HIDDEN; Fri, 08 Aug 2014 11:48:26 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <godek.maciek@HIDDEN>) id 1XFmP2-0001DH-MR
 for bug-guile@HIDDEN; Fri, 08 Aug 2014 11:48:25 -0400
Received: from mail-vc0-x22c.google.com ([2607:f8b0:400c:c03::22c]:54561)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <godek.maciek@HIDDEN>) id 1XFmP2-0001DB-IY
 for bug-guile@HIDDEN; Fri, 08 Aug 2014 11:48:24 -0400
Received: by mail-vc0-f172.google.com with SMTP id im17so8601321vcb.17
 for <bug-guile@HIDDEN>; Fri, 08 Aug 2014 08:48:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:date:message-id:subject:from:to:content-type;
 bh=r1ZVzprwqu7zFqC2VmWSZoSPdwao87vvDk+SJercmAc=;
 b=lM+m8YiiKE9O3HO+fHKoaQKcfWVnoqKJtKUOGwpYfjKvijpIQvmnjcCFA6ZDPzgSpB
 MaomvDaegrZvTLUeYXEllFRoX7lqGLWqKNv+rBm+KRZGr11iuYi0fz0pOwuT9gLMm7fe
 zRgetGMYN2v0QVzqMygmZJaOt6hH2P2qG7zqVvyZcEsRHe6Aat79Oy4sX+LkXWEaEUvQ
 M5fi7TgZSBusuHlthZnME+iuuxYLnjyY5frFiJqZJyZDFUF4mzaV903ea5KVR1BAXaH0
 nbZfX1bgRGK54T2ge2YtNoV14QyqGD9NAvAsjOZvZAn8f6onq8OAnaXcurNiieoG/Q9C
 ggaA==
MIME-Version: 1.0
X-Received: by 10.220.190.197 with SMTP id dj5mr22349522vcb.19.1407512903889; 
 Fri, 08 Aug 2014 08:48:23 -0700 (PDT)
Received: by 10.221.66.79 with HTTP; Fri, 8 Aug 2014 08:48:23 -0700 (PDT)
Date: Fri, 8 Aug 2014 17:48:23 +0200
Message-ID: <CAMFYt2bBcMSg7VWLy4hrjAC1KypAo8kmeFMvUB_8wJsG5-aMrA@HIDDEN>
Subject: Lack of type-converting shared arrays (feature request)
From: Panicz Maciej Godek <godek.maciek@HIDDEN>
To: bug-guile@HIDDEN
Content-Type: text/plain; charset=UTF-8
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.0 (----)

While it is possible to shuffle with array indices arbitrarily, the
ability to convert array types is very limited. For example, it would
be nice to be able convert a uniform vector of unsigned bytes to a
uniform vector of some other size:

(define bytes #u8(0 0 255 255))

(define words
  (make-typed-shared-array 'u16 (native-endianness) bytes
    (lambda(i)(list (* i 2))) '(0 1))
words
====> #u16(0 65535)

In addition to SRFI-4 types, the conversion should be compatible with
R6RS bytevectors




Acknowledgement sent to Panicz Maciej Godek <godek.maciek@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guile@HIDDEN. Full text available.
Report forwarded to bug-guile@HIDDEN:
bug#18225; Package guile. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.