Clarify order of arguments for stream-fold (#1578)

This commit is contained in:
James Bornholt 2017-03-06 15:44:42 -08:00 committed by Benjamin Greenman
parent d8b78e823e
commit b978631823

View File

@ -1088,7 +1088,8 @@ stream, but plain lists can be used as streams, and functions such as
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.
does not terminate. The @racket[f] function takes the accumulator as
its first argument and the next stream element as its second.
}
@defproc[(stream-count [f procedure?] [s stream?])