Documenting make-hasheqv and using it
This commit is contained in:
parent
035ee93911
commit
7e485b8d28
|
@ -794,9 +794,8 @@
|
||||||
[len (read-compact-number cp)])
|
[len (read-compact-number cp)])
|
||||||
((case eq
|
((case eq
|
||||||
[(0) make-hasheq-placeholder]
|
[(0) make-hasheq-placeholder]
|
||||||
; XXX One of these should be eqv
|
|
||||||
[(1) make-hash-placeholder]
|
[(1) make-hash-placeholder]
|
||||||
[(2) make-hash-placeholder])
|
[(2) make-hasheqv-placeholder])
|
||||||
(for/list ([i (in-range len)])
|
(for/list ([i (in-range len)])
|
||||||
(cons (read-compact cp)
|
(cons (read-compact cp)
|
||||||
(read-compact cp)))))]
|
(read-compact cp)))))]
|
||||||
|
|
|
@ -1051,3 +1051,9 @@ for use with @scheme[make-reader-graph].}
|
||||||
|
|
||||||
Like @scheme[make-immutable-hasheq], but produces a table placeholder
|
Like @scheme[make-immutable-hasheq], but produces a table placeholder
|
||||||
for use with @scheme[make-reader-graph].}
|
for use with @scheme[make-reader-graph].}
|
||||||
|
|
||||||
|
@defproc[(make-hasheqv-placeholder [assocs (listof pair?)])
|
||||||
|
hash-placeholder?]{
|
||||||
|
|
||||||
|
Like @scheme[make-immutable-hasheqv], but produces a table placeholder
|
||||||
|
for use with @scheme[make-reader-graph].}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user