[R6RS] quotient, remainder, modulo
Michael Sperber
sperber at informatik.uni-tuebingen.de
Thu May 4 08:35:33 EDT 2006
William D Clinger <will at ccs.neu.edu> writes:
> I do object, however, to the generalization of quotient, remainder,
> and modulo to apply to arbitrary reals. I believe we should regard
> these as deprecated procedures, preserved primarily for compatibility
> with the R5RS, and should encourage the use of div+mod in new code.
> To the extent that quotient, remainder, and modulo would still serve
> any purpose in the R6RS, it would be as integer-only procedures that
> coincide with div+mod on non-negative integers, which is useful when
> a programmer wishes to express that the arguments and results of
> these procedures should always be integers.
I understand this as intending the following:
"Relegate `quotient', `remainder' and `modulo' to the R5RS
compatibility library, but don't keep them for the regular R6RS. In
particular, delete them from SRFI 77.
If that interpretation is correct, I'm fine with it.
--
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla
More information about the R6RS
mailing list