From 4ffd2fc1b81d8e635ef2186ea88e31fe043d2603 Mon Sep 17 00:00:00 2001 From: Vincent St-Amour Date: Fri, 28 Apr 2017 14:08:17 -0500 Subject: [PATCH] Restore docs about impersonator-of? and immutable hash tables. In the impersonate-hash docs, this time. --- pkgs/racket-doc/scribblings/reference/chaperones.scrbl | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/racket-doc/scribblings/reference/chaperones.scrbl b/pkgs/racket-doc/scribblings/reference/chaperones.scrbl index b36e936220..be2b300273 100644 --- a/pkgs/racket-doc/scribblings/reference/chaperones.scrbl +++ b/pkgs/racket-doc/scribblings/reference/chaperones.scrbl @@ -537,6 +537,14 @@ Pairs of @racket[prop] and @racket[prop-val] (the number of arguments to @racket[impersonate-hash] must be odd) add impersonator properties or override impersonator-property values of @racket[hash]. +In the case of an immutable hash table, two impersonated hash tables count as +``the same value'' (for purposes of @racket[impersonator-of?]) when their +redirection procedures were originally attached to a hash table by the same +call to @racket[impersonate-hash] or @racket[chaperone-hash] (and potentially +propagated by @racket[hash-set], @racket[hash-remove], or @racket[hash-clear]), +as long as the content of the first hash table is @racket[impersonator-of?] of +the second hash table. + @history[#:changed "6.3.0.11" @elem{Added the @racket[equal-key-proc] argument.}]}