GNU bug report logs - #15140
number->string doesn't accept the optional precision argument

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; Reported by: Göran Weinholt <goran@HIDDEN>; dated Tue, 20 Aug 2013 12:15:01 UTC; Maintainer for guile is bug-guile@HIDDEN.

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


Received: (at submit) by debbugs.gnu.org; 20 Aug 2013 12:14:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Aug 20 08:14:26 2013
Received: from localhost ([127.0.0.1]:42262 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1VBkpN-00042T-R7
	for submit <at> debbugs.gnu.org; Tue, 20 Aug 2013 08:14:26 -0400
Received: from eggs.gnu.org ([208.118.235.92]:59578)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <goran@HIDDEN>) id 1VBkpK-00042K-Nw
 for submit <at> debbugs.gnu.org; Tue, 20 Aug 2013 08:14:23 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <goran@HIDDEN>) id 1VBkpJ-0001Uu-E5
 for submit <at> debbugs.gnu.org; Tue, 20 Aug 2013 08:14:22 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-100.0 required=5.0 tests=BAYES_20,T_DKIM_INVALID,
 USER_IN_WHITELIST autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:37370)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <goran@HIDDEN>) id 1VBkpJ-0001Uq-Ay
 for submit <at> debbugs.gnu.org; Tue, 20 Aug 2013 08:14:21 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:33038)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <goran@HIDDEN>) id 1VBkpG-0005Ru-Ss
 for bug-guile@HIDDEN; Tue, 20 Aug 2013 08:14:21 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <goran@HIDDEN>) id 1VBkpA-0001Sk-VP
 for bug-guile@HIDDEN; Tue, 20 Aug 2013 08:14:18 -0400
Received: from iustitia.weinholt.se ([2a02:28f0:0:a::7dce:e5a8]:40122)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <goran@HIDDEN>) id 1VBkpA-0001QX-K3
 for bug-guile@HIDDEN; Tue, 20 Aug 2013 08:14:12 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=weinholt.se;
 s=iustitia2012; 
 h=Content-Type:MIME-Version:Message-ID:Date:Subject:To:From;
 bh=H5MapVlm9d5dC9d2ZG6hbJkxt12hrm+F4uD2KvlAUNU=; 
 b=gfV1LxqdQfK2Q/ctdYAur0OWvsBOwro+SjF3qK14lVgYcRBJhHr5Zru8m6jv/iReNlMNu7OkF3kskf+dKxCjEgd9l39P1P5djChBYhsC3ZKuneb8yiZvrEHh/IYbE0tKpCQucvDpyKKy4S3okjK615yt4O1XAZfXEDxUC9T7gfcfbF3U1eTwsSwTsvBUkFdmeO6DqQfdd4fxGBTXKuOraUlWvLhvteWU5wHJEf5scogtVkFU3JMXrjM/WqF9GpeORNNrhjEiAB4y9jZMI5awDozqxfJwqa5UoECRcitsf4v+UyF7OlGhDZ4TSiscAH9N6o26rWpC+IxO3Kd8O+ulNw==;
Received: from uucp by iustitia.weinholt.se with local-bsmtp (Exim 4.72)
 (envelope-from <goran@HIDDEN>)
 id 1VBkp2-0003Cp-Se; Tue, 20 Aug 2013 14:14:04 +0200
Received: from weinholt by industria with local (Exim 4.80)
 (envelope-from <goran@HIDDEN>)
 id 1VBkgj-00027P-V3; Tue, 20 Aug 2013 14:05:29 +0200
X-Hashcash: 1:20:130820:bug-guile@HIDDEN::xKfiF0B6EhS0kiLn:000000000000000000000000000000000000000000001gLd
From: =?utf-8?Q?G=C3=B6ran?= Weinholt <goran@HIDDEN>
To: bug-guile@HIDDEN
Subject: number->string doesn't accept the optional precision argument
Date: Tue, 20 Aug 2013 14:05:23 +0200
Message-ID: <87d2p88t4s.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
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: -3.3 (---)
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: -3.3 (---)

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Hello schemers,

the number->string procedure from (rnrs) should accept the optional
precision argument, but does not:

scheme@(guile-user)> (import (rnrs))
scheme@(guile-user)> (number->string 1.1 10 53)
;;; <stdin>:2:0: warning: possibly wrong number of arguments to `number->st=
ring'
ERROR: In procedure number->string:
ERROR: Wrong number of arguments to #<procedure number->string (_ #:optiona=
l _)>

The example should return "1.1|53".

Tested with GNU Guile 2.0.9.71-8d5d04.

=2D-=20
G=C3=B6ran Weinholt <goran@HIDDEN>
"On your own and though you feel alone you are alive.
Don't you know it's just another day." -- You Are Alive, Fragma

--=-=-=
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBCgAGBQJSE1uEAAoJEOM+YaLpuMOi4N4P/2cKoNkIbE3kpcd7YG9lUBUQ
q2IO9VkYI8ylZmIQkdEgoFsW8e30ENpeMGeaNl24Pma+lO2yP4kNoVzzayV+epth
GoiNWBJVhvFp4OowZlP03gktAkC7UK+cmsUn8CL2e296njeU134MvT+DKKyoptf7
8n6hrbhPq84/P/qe0TbmcjVR2vmI1ZGpqlKBJxWzsPrnPj3gbZVg2ucKsHFmDKXO
vCaVK8ghezl95CDiMYt8K4iHZIbEhyva4b7UlgjkyqEpm47lKwjE1ji0JDn85lY5
zCNFfrsnWi/Zt2ooN4/d4aR9JdXwOu0Hqg9nr22nNTIJnxe8/VIBgwbLXvqlXFsp
46oaL5IKX7ibNZuWXURoQVtlGGNLshbGnsSPvrdBYFLvnhzIYLf3J7VDTwq619ya
UTY4LReeaL0rKOPaS2rPIGNFAsTFs91e5R6tQeh3OiJjPltPRXg5bF6T2B5H4roB
qCY/iaHa3mwoD9k/j53Ino9azK41ZKYCc6KvCjkdn5eLwpjvZqEDe9Z2LODYwO/c
WUx4viCzWtWtcNq+1dVa727AY7TZuQux9EIvLopCxjCxb7UCG+LqQbyMBFnwA437
DYK6Kv9jsztdaRg7Y4SW4a386DntSUwbS8qj6I+kj7+G0laleBNtQm7rh3aNLjRS
QFRuhnn3gKrV8GphL1p7
=cgv3
-----END PGP SIGNATURE-----
--=-=-=--




Acknowledgement sent to Göran Weinholt <goran@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guile@HIDDEN. Full text available.
Report forwarded to bug-guile@HIDDEN:
bug#15140; 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: Fri, 31 Oct 2014 17:00:04 UTC

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