reference: (unbox (box-immutable v)) returns v (#2898)

This commit is contained in:
Zaoqi 2019-11-10 10:20:54 +08:00 committed by Sam Tobin-Hochstadt
parent 913e8fba5b
commit 8aef27ccf5

View File

@ -120,7 +120,7 @@ Returns a new immutable box that contains @racket[v].}
Returns the content of @racket[box].}
For any @racket[v], @racket[(unbox (box v))] returns @racket[v].
For any @racket[v], @racket[(unbox (box v))] and @racket[(unbox (box-immutable v))] returns @racket[v].
@defproc[(set-box! [box (and/c box? (not/c immutable?))]