docs typos

This commit is contained in:
Robby Findler 2014-02-20 16:44:55 -06:00
parent b047b32c6e
commit 6a0d387ac4

View File

@ -250,13 +250,13 @@ should never signal an error.
@defproc[(gc:closure-code-ptr [loc location?]) heap-value?]{ @defproc[(gc:closure-code-ptr [loc location?]) heap-value?]{
Given a location returned from an earlier allocation Given a location returned from an earlier allocation
check to see if it is a closure; if not signal an check to see if it is a closure; if not signal an
error. if so, return the @racket[_code-ptr] for that closure. error. If so, return the @racket[_code-ptr] for that closure.
} }
@defproc[(gc:closure-env-ref [loc location?] [i exact-nonnegative-integer?]) @defproc[(gc:closure-env-ref [loc location?] [i exact-nonnegative-integer?])
location?]{ location?]{
Given a location returned from an earlier allocation, check Given a location returned from an earlier allocation, check
to see if it is a closure; if not signal an error. Uf so, to see if it is a closure; if not signal an error. If so,
return the @racket[i]th variable in the closure (counting from 0). return the @racket[i]th variable in the closure (counting from 0).
} }