fix dict-empty?
closes PR 14075
This commit is contained in:
parent
7dd3b82d1b
commit
383c363c68
|
@ -288,7 +288,7 @@
|
|||
(loop))))
|
||||
|
||||
(define (fallback-empty? d)
|
||||
(if (dict-iterate-first d) #t #f))
|
||||
(not (dict-iterate-first d)))
|
||||
|
||||
(define (fallback-count d)
|
||||
(let loop ([n 0] [i (dict-iterate-first d)])
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
;; No-contract version.
|
||||
|
||||
(define-struct id-table (hash phase))
|
||||
;; where hash maps symbol => (listof (cons identifier value))
|
||||
;; where hash maps symbol => (nonempty-listof (cons identifier value))
|
||||
;; phase is a phase-level (integer or #f)
|
||||
|
||||
(define (make-id-table-hash-code identifier->symbol)
|
||||
|
|
Loading…
Reference in New Issue
Block a user