Skip to content

Commit

Permalink
Add missing history annotations.
Browse files Browse the repository at this point in the history
Please merge to 6.3.
  • Loading branch information
stamourv committed Oct 12, 2015
1 parent 270bbcc commit 9fe486b
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 4 deletions.
4 changes: 4 additions & 0 deletions pkgs/racket-doc/scribblings/reference/networking.scrbl
Expand Up @@ -257,10 +257,14 @@ port returned by @racket[tcp-accept], @racket[tcp-connect],

@defthing[port-number? contract?]{
Equivalent to @racket[(between/c 1 65535)].

@history[#:added "6.3"]{}
}

@defthing[listen-port-number? contract?]{
Equivalent to @racket[(between/c 0 65535)].

@history[#:added "6.3"]{}
}

@;------------------------------------------------------------------------
Expand Down
19 changes: 15 additions & 4 deletions pkgs/racket-doc/scribblings/reference/pairs.scrbl
Expand Up @@ -875,7 +875,9 @@ Returns a list that is the same as @racket[lst] except at the specified index.
The element at the specified index is @racket[(updater (list-ref lst pos))].

@examples[#:eval list-eval
(list-update '(zero one two) 1 symbol->string)]}
(list-update '(zero one two) 1 symbol->string)]
@history[#:added "6.3"]{}
}

@defproc[(list-set [lst list?]
[pos (and/c (>=/c 0) (</c (length lst)))]
Expand All @@ -886,7 +888,9 @@ Returns a list that is the same as @racket[lst] except at the specified index.
The element at the specified index is @racket[value].

@examples[#:eval list-eval
(list-set '(zero one two) 2 "two")]}
(list-set '(zero one two) 2 "two")]
@history[#:added "6.3"]{}
}

@defproc[(take [lst any/c] [pos exact-nonnegative-integer?])
list?]{
Expand Down Expand Up @@ -1019,6 +1023,7 @@ combined with the from-right functionality of @racket[take-right],
@examples[#:eval list-eval
(list-prefix? '(1 2) '(1 2 3 4 5))
]
@history[#:added "6.3"]{}
}

@defproc[(take-common-prefix [l list?] [r list?]
Expand All @@ -1030,6 +1035,7 @@ combined with the from-right functionality of @racket[take-right],
@examples[#:eval list-eval
(take-common-prefix '(a b c d) '(a b x y z))
]
@history[#:added "6.3"]{}
}

@defproc[(drop-common-prefix [l list?] [r list?]
Expand All @@ -1042,6 +1048,7 @@ combined with the from-right functionality of @racket[take-right],
@examples[#:eval list-eval
(drop-common-prefix '(a b c d) '(a b x y z))
]
@history[#:added "6.3"]{}
}

@defproc[(split-common-prefix [l list?] [r list?]
Expand All @@ -1054,6 +1061,7 @@ combined with the from-right functionality of @racket[take-right],
@examples[#:eval list-eval
(split-common-prefix '(a b c d) '(a b x y z))
]
@history[#:added "6.3"]{}
}


Expand Down Expand Up @@ -1135,6 +1143,7 @@ use a dictionary for speed.
(check-duplicates '(1 2 3 4 5 6)
(lambda (x y) (equal? (modulo x 3) (modulo y 3))))
]
@history[#:added "6.3"]{}
}

@defproc[(remove-duplicates [lst list?]
Expand Down Expand Up @@ -1299,6 +1308,7 @@ in order of first appearance in the input.
@examples[#:eval list-eval
(group-by (lambda (x) (modulo x 3)) '(1 2 1 2 54 2 5 43 7 2 643 1 2 0))
]
@history[#:added "6.3"]{}
}

@defproc[(cartesian-product [lst list?] ...)
Expand All @@ -1310,6 +1320,7 @@ Computes the n-ary cartesian product of the given lists.
(cartesian-product '(1 2 3) '(a b c))
(cartesian-product '(4 5 6) '(d e f) '(#t #f))
]
@history[#:added "6.3"]{}
}

@defproc[(remf [pred procedure?]
Expand All @@ -1322,7 +1333,7 @@ for which @racket[pred] produces a true value.
#:eval list-eval
(remf negative? '(1 -2 3 4 -5))
]

@history[#:added "6.3"]{}
}

@defproc[(remf* [pred procedure?]
Expand All @@ -1335,7 +1346,7 @@ produces a true value.
#:eval list-eval
(remf* negative? '(1 -2 3 4 -5))
]

@history[#:added "6.3"]{}
}


Expand Down
4 changes: 4 additions & 0 deletions pkgs/racket-doc/scribblings/reference/struct.scrbl
Expand Up @@ -643,6 +643,8 @@ The function also cooperates with @racket[pretty-print]:
(parameterize ((pretty-print-columns 10))
(pretty-write (point #e3e6 #e4e6)))
]

@history[#:added "6.3"]{}
}

@defproc[(struct->list [v any/c]
Expand Down Expand Up @@ -671,6 +673,8 @@ the inaccessible fields are omitted from the list.
(struct->list 'not-a-struct #:on-opaque 'return-false)
(struct->list 'not-a-struct #:on-opaque 'skip)
]

@history[#:added "6.3"]{}
}

@;------------------------------------------------------------------------
Expand Down
4 changes: 4 additions & 0 deletions pkgs/racket-doc/syntax/scribblings/macro-testing.scrbl
Expand Up @@ -33,6 +33,8 @@ converted to a run-time exception.
(phase1-eval (extract-struct-info (syntax-local-value #'point))
#:quote quote-syntax)
]

@history[#:added "6.3"]{}
}

@defform[(convert-compile-time-error expr)]{
Expand All @@ -54,6 +56,8 @@ compile-time error checking like syntax errors:

Without the use of @racket[convert-compile-time-error], the checks
above would not be executed because the test program would not compile.

@history[#:added "6.3"]{}
}

@defform[(convert-syntax-error expr)]{
Expand Down
2 changes: 2 additions & 0 deletions pkgs/racket-doc/syntax/scribblings/srcloc.scrbl
Expand Up @@ -244,6 +244,8 @@ with a path.
(syntax-source-directory stx2)
(syntax-source-directory stx2)
]

@history[#:added "6.3"]{}
}

@subsection{Quoting}
Expand Down
1 change: 1 addition & 0 deletions pkgs/racket-doc/syntax/scribblings/transformer.scrbl
Expand Up @@ -34,6 +34,7 @@ considered immutable and a syntax error is raised.
op
]

@history[#:added "6.3"]{}
}

@close-eval[the-eval]

0 comments on commit 9fe486b

Please sign in to comment.