Skip to content

Commit 4e675bd

Browse files
committed
document hash-table-constructor-with-lists added in racket/pconvert@8d095d0
1 parent 8d0b435 commit 4e675bd

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

compatibility-doc/mzlib/scribblings/pconvert.scrbl

+10
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,16 @@ A parameter that controls whether a @racketidfont{make-} prefix is
8181
added to a constructor name for a structure instance. The initial
8282
value of the parameter is @racket[#f].}
8383

84+
@defboolparam[hash-table-constructor-with-lists use-list?]{
85+
A parameter that controls whether the key/value pairs in a
86+
hash are printed with @racketidfont{cons} or
87+
@racketidfont{list}. The initial value of the parameter is
88+
@racket[#f], meaning that a hash table like @racket[(hash 'x 1 'y 2)]
89+
converts to @racket['(make-hash (list (list 'x 1) (list 'y 1)))].
90+
91+
@history[#:added "1.2"]
92+
}
93+
8494

8595

8696
@defproc[(build-share [v any/c]) ....]{

0 commit comments

Comments
 (0)