bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#14869: fl+ and fl* should also accept 0 arguments


From: Göran Weinholt
Subject: bug#14869: 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

Attachment: pgpUiJm2ms5lU.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]