[racket] r6rs remainder

From: Asumu Takikawa (asumu at ccs.neu.edu)
Date: Thu Nov 13 20:57:30 EST 2014

Hi Erik,

On 2014-11-14 02:44:05 +0100, Erik Itter wrote:
> shouldn't (remainder x y) be defined in scheme r6rs already?

If you look in the relevant section[1] of the R6RS standard libraries
document, it says that the `remainder` procedure is defined in the
`(rnrs r5rs (6))` library. So you have to do:

  (import (rnrs r5rs (6)))

Or you can use Racket, in which the `remainder` function is built-in to
the base language:

[1]: http://www.r6rs.org/final/html/r6rs-lib/r6rs-lib-Z-H-20.html#node_idx_1292


Posted on the users mailing list.