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.

Ticket 101: exactness and equal?

2011-01-24 06:52:12
WG1 - Core
alexshinn
major
alexshinn
wontfix
source
closed
2010-11-21 07:37:03
defect

In R5RS equal? is in some sense the broadest test for equality, comparing structural equality, but also tests for the same exactness, so that

(equal? 0 0.0) => #f

whereas

(= 0 0.0) => #t

Some users consider this confusing, others sometimes want an equal? that behaves like = for numbers.

resolutionwontfix
statusnewclosed

WG1 voted to take no action.