Skip to content

Commit

Permalink
Change the wording of the documentation for impersonate-procedure wit…
Browse files Browse the repository at this point in the history
…h wrapper-proc being #f
  • Loading branch information
shhyou authored and rfindler committed Dec 20, 2016
1 parent b99639f commit 498f179
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/racket-doc/scribblings/reference/chaperones.scrbl
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ order of the supplied arguments' keywords.
If @racket[wrapper] is @racket[#f], then applying the resulting
impersonator is the same as applying @racket[proc]. If
@racket[wrapper] is @racket[#f] and no @racket[prop] is provided, then
the result is @racket[proc] unimpersonated.
@racket[proc] is returned and is not impersonated.

Pairs of @racket[prop] and @racket[prop-val] (the number of arguments
to @racket[procedure-impersonator] must be even) add impersonator properties
Expand Down Expand Up @@ -380,7 +380,7 @@ Each @racket[orig-proc] must indicate a distinct operation. If no
@racket[struct-type] and no @racket[orig-proc]s are supplied, then no @racket[prop]s must be
supplied. If @racket[orig-proc]s are supplied only with @racket[#f]
@racket[redirect-proc]s and no @racket[prop]s are supplied, then
@racket[v] is returned unimpersonated.
@racket[v] is returned and is not impersonated.

If any @racket[orig-proc] is itself an impersonator, then a use of the
accessor or mutator that @racket[orig-proc] impersonates is redirected
Expand Down

0 comments on commit 498f179

Please sign in to comment.