Fix make-->vector doc typo.

Closes PR 11698.

Merge to 5.1.
This commit is contained in:
Vincent St-Amour 2011-02-02 13:54:37 -05:00
parent 2b045b991e
commit 62327c5f50
4 changed files with 4 additions and 4 deletions

View File

@ -60,7 +60,7 @@ property.
]} ]}
@defform[(make->vector struct-id)]{ @defform[(make-->vector struct-id)]{
Builds a function that accepts a structure type instance (matching Builds a function that accepts a structure type instance (matching
@scheme[struct-id]) and provides a vector of the fields of the @scheme[struct-id]) and provides a vector of the fields of the

View File

@ -44,7 +44,7 @@ data structure (perhaps accidentally) and thus any change in the representation
(say to a more efficient representation that supports amortized constant time (say to a more efficient representation that supports amortized constant time
enqueue and dequeue operations) might break client code. enqueue and dequeue operations) might break client code.
To ensure that the stack representation is abstact, we can use @racket[#:∃] in the To ensure that the stack representation is abstract, we can use @racket[#:∃] in the
@racket[provide/contract] expression, like this: @racket[provide/contract] expression, like this:
@racketblock[(provide/contract @racketblock[(provide/contract
#:∃ stack #:∃ stack

View File

@ -224,7 +224,7 @@ racket
(code:comment "bst-between : number number -> contract") (code:comment "bst-between : number number -> contract")
(code:comment "builds a contract for binary search trees") (code:comment "builds a contract for binary search trees")
(code:comment "whose values are betweeen low and high") (code:comment "whose values are between low and high")
(define (bst-between/c low high) (define (bst-between/c low high)
(or/c null? (or/c null?
(node/dc [val (between/c low high)] (node/dc [val (between/c low high)]

View File

@ -519,7 +519,7 @@ plsurf3d(PLFLT *x, PLFLT *y, PLFLT **z, PLINT nx, PLINT ny,
if (ct == 2) { if (ct == 2) {
/* yes, xx and yy are the intersection points of the triangle with /* yes, xx and yy are the intersection points of the triangle with
* the contour line -- draw a straight line betweeen the points * the contour line -- draw a straight line between the points
* -- at the end this will make up the contour line */ * -- at the end this will make up the contour line */
if (opt & SURF_CONT) { if (opt & SURF_CONT) {