unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* bug#14869: fl+ and fl* should also accept 0 arguments
@ 2013-07-15 12:41 Göran Weinholt
  2013-07-16  8:03 ` Mark H Weaver
  0 siblings, 1 reply; 2+ messages in thread
From: Göran Weinholt @ 2013-07-15 12:41 UTC (permalink / raw)
  To: 14869

[-- Attachment #1: Type: text/plain, Size: 717 bytes --]

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@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

[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#14869: fl+ and fl* should also accept 0 arguments
  2013-07-15 12:41 bug#14869: fl+ and fl* should also accept 0 arguments Göran Weinholt
@ 2013-07-16  8:03 ` Mark H Weaver
  0 siblings, 0 replies; 2+ messages in thread
From: Mark H Weaver @ 2013-07-16  8:03 UTC (permalink / raw)
  To: Göran Weinholt; +Cc: 14869-done

Göran Weinholt <goran@weinholt.se> writes:
> the fl+ and fl* procedures from (rnrs) should also accept 0 arguments,

Fixed in 62460767e133b4516c30920a4ba705889fb99f18.

    Thanks!
      Mark





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-07-16  8:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-15 12:41 bug#14869: fl+ and fl* should also accept 0 arguments Göran Weinholt
2013-07-16  8:03 ` Mark H Weaver

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).