Opened 7 years ago

Closed 7 years ago

#101 closed defect (wontfix)

exactness and equal?

Reported by: alexshinn Owned by: alexshinn
Priority: major Milestone:
Component: WG1 - Core Keywords:


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


(= 0 0.0) => #t

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

Change History (1)

comment:1 Changed 7 years ago by cowan

  • Resolution set to wontfix
  • Status changed from new to closed

WG1 voted to take no action.

Note: See TracTickets for help on using tickets.