From 03991c778c3b7b51629af171a2250b2db2aec258 Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Sat, 3 Sep 2011 13:31:27 -0600 Subject: [PATCH] doc contract fix Closes PR 12163 --- collects/scribblings/reference/sequences.scrbl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/collects/scribblings/reference/sequences.scrbl b/collects/scribblings/reference/sequences.scrbl index 8b90c7e694..18abf2101f 100644 --- a/collects/scribblings/reference/sequences.scrbl +++ b/collects/scribblings/reference/sequences.scrbl @@ -506,17 +506,17 @@ in the sequence. @defproc[(sequence-for-each [f (-> any/c ... any)] [s sequence?]) - (void)]{ + void?]{ Applies @racket[f] to each element of @racket[s]. If @racket[s] is infinite, this function does not terminate.} @defproc[(sequence-fold [f (-> any/c any/c ... any/c)] [i any/c] [s sequence?]) - (void)]{ + any/c]{ Folds @racket[f] over each element of @racket[s] with @racket[i] as the initial accumulator. If @racket[s] is infinite, this function - does not terminate. @racket[f] takes the accumulator as its first argument + does not terminate. The @racket[f] function takes the accumulator as its first argument and the next sequence element as its second.} @defproc[(sequence-count [f procedure?] [s sequence?]) @@ -650,14 +650,14 @@ when it is evaluated, otherwise the @exnraise[exn:fail:contract?].} @defproc[(stream-for-each [f (-> any/c ... any)] [s stream?]) - (void)]{ + void?]{ Applies @racket[f] to each element of @racket[s]. If @racket[s] is infinite, this function does not terminate.} @defproc[(stream-fold [f (-> any/c any/c ... any/c)] [i any/c] [s stream?]) - (void)]{ + any/c]{ Folds @racket[f] over each element of @racket[s] with @racket[i] as the initial accumulator. If @racket[s] is infinite, this function does not terminate.}