Skip to content

Commit fc2c23f

Browse files
committed
Don’t enforce an error for non-eqv? same?-functions in the impl
1 parent 4da8b4a commit fc2c23f

File tree

4 files changed

+0
-17
lines changed

4 files changed

+0
-17
lines changed

srfi/250.sld

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,6 @@
7373
(else))
7474

7575
(begin
76-
(define-syntax not-on-r6rs
77-
(syntax-rules ()
78-
((_ body_0 body_1 ...) (begin body_0 body_1 ...))))
79-
8076
(define (void . ignored) (if #f #f))
8177
(define (hash-truncate h) (bitwise-and (abs h) #xFFFFFFFF))
8278

srfi/250/hash-tables.scm

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -707,12 +707,6 @@
707707
ht_1)
708708

709709
(define (hash-table= value=? ht_1 ht_2)
710-
(not-on-r6rs
711-
(unless (eqv? (hash-table-same?-function ht_1)
712-
(hash-table-same?-function ht_2))
713-
(assertion-violation 'hash-table=
714-
"hash tables have different equality predicates"
715-
ht_1 ht_2)))
716710
(and
717711
;; check every association in ht_1 has a corresponding association
718712
;; in ht_2

srfi/:250/hash-tables.sls

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,6 @@
7171
(srfi :250 internal include)
7272
(srfi :250 internal immutable))
7373

74-
(define-syntax not-on-r6rs
75-
(syntax-rules ()
76-
((_ body_0 body_1 ...) (begin))))
7774
(define (void . ignored) (if #f #f))
7875
(define (hash-truncate h) (bitwise-and (abs h) #xFFFFFFFF))
7976

srfi/srfi-250.scm

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,6 @@
7878
hash-table-difference!
7979
hash-table-xor!))
8080

81-
(define-syntax not-on-r6rs
82-
(syntax-rules ()
83-
((_ body_0 body_1 ...) (begin body_0 body_1 ...))))
84-
8581
(define (void . ignored) (if #f #f))
8682
(define (hash-truncate h) (bitwise-and (abs h) #xFFFFFFFF))
8783
(define-record-type (hash-table %make-hash-table hash-table?)

0 commit comments

Comments
 (0)