--- Begin Message ---
Subject: |
fl+ and fl* should also accept 0 arguments |
Date: |
Mon, 15 Jul 2013 14:41:02 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) |
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 <address@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
pgpfZSLL9iFMs.pgp
Description: PGP signature
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#14869: fl+ and fl* should also accept 0 arguments |
Date: |
Tue, 16 Jul 2013 04:03:01 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Göran Weinholt <address@hidden> writes:
> the fl+ and fl* procedures from (rnrs) should also accept 0 arguments,
Fixed in 62460767e133b4516c30920a4ba705889fb99f18.
Thanks!
Mark
--- End Message ---