This site is a static rendering of the Trac instance that was used by R7RS-WG1 for its work on R7RS-small (PDF), which was ratified in 2013. For more information, see Home.

Source for wiki RandomR6rs version 2

author

cowan

comment


    

ipnr

66.108.19.185

name

RandomR6rs

readonly

0

text

This is a dumping ground for random R6RS base library procedures that might be wanted in WG2.

`boolean=?` compares booleans for identity.

`symbol=?` compares symbols for identity.

`real-valued?`, `rational-valued?`, and `integer-valued?` test whether a given number object can be coerced to the specified type without loss of numerical accuracy. Specifically, the behavior of these predicates differs from the behavior of `real?`, `rational?`, and `integer?` on complex number objects whose imaginary part is inexact zero.

`infinite?` returns `#t` on `+inf.0` and `-inf.0`

`assert` raises an error if its argument is `#f`.

There are now tickets to add each of these things to R7RS-small.


time

2012-02-03 02:52:31

version

2