GNU bug report logs - #14869
fl+ and fl* should also accept 0 arguments

Previous Next

Package: guile;

Reported by: Göran Weinholt <goran <at> weinholt.se>

Date: Mon, 15 Jul 2013 12:45:01 UTC

Severity: normal

Done: Mark H Weaver <mhw <at> netris.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 14869 in the body.
You can then email your comments to 14869 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guile <at> gnu.org:
bug#14869; Package guile. (Mon, 15 Jul 2013 12:45:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Göran Weinholt <goran <at> weinholt.se>:
New bug report received and forwarded. Copy sent to bug-guile <at> gnu.org. (Mon, 15 Jul 2013 12:45:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Göran Weinholt <goran <at> weinholt.se>
To: bug-guile <at> gnu.org
Subject: fl+ and fl* should also accept 0 arguments
Date: Mon, 15 Jul 2013 14:41:02 +0200
[Message part 1 (text/plain, inline)]
Hello schemers,

the fl+ and fl* procedures from (rnrs) should also accept 0 arguments,
with flonum return values analogous to (+) and (*):

scheme@(guile-user)> (import (rnrs))
scheme@(guile-user)> (fl*)
;;; <stdin>:2:0: warning: possibly wrong number of arguments to `fl*'
rnrs/arithmetic/flonums.scm:111:2: In procedure fl*:
rnrs/arithmetic/flonums.scm:111:2: Wrong number of arguments to #<procedure fl* (fl1 . args)>

The entries in r6rs-lib say "(fl+ fl1 ...)" and "(fl* fl1 ...)". Tested
with Guile 2.0.9.22-7e816-dirty.

Regards,

-- 
Göran Weinholt <goran <at> weinholt.se>
"On your own and though you feel alone you are alive.
Don't you know it's just another day." -- You Are Alive, Fragma
[Message part 2 (application/pgp-signature, inline)]

Reply sent to Mark H Weaver <mhw <at> netris.org>:
You have taken responsibility. (Tue, 16 Jul 2013 08:04:02 GMT) Full text and rfc822 format available.

Notification sent to Göran Weinholt <goran <at> weinholt.se>:
bug acknowledged by developer. (Tue, 16 Jul 2013 08:04:03 GMT) Full text and rfc822 format available.

Message #10 received at 14869-done <at> debbugs.gnu.org (full text, mbox):

From: Mark H Weaver <mhw <at> netris.org>
To: Göran Weinholt <goran <at> weinholt.se>
Cc: 14869-done <at> debbugs.gnu.org
Subject: Re: bug#14869: fl+ and fl* should also accept 0 arguments
Date: Tue, 16 Jul 2013 04:03:01 -0400
Göran Weinholt <goran <at> weinholt.se> writes:
> the fl+ and fl* procedures from (rnrs) should also accept 0 arguments,

Fixed in 62460767e133b4516c30920a4ba705889fb99f18.

    Thanks!
      Mark




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 13 Aug 2013 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 10 years and 259 days ago.

Previous Next


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