foldl/foldr output type typo

svn: r14432
This commit is contained in:
Eli Barzilay 2009-04-06 05:49:57 +00:00
parent 83a1a5a812
commit e6277e92ac

View File

@ -236,7 +236,7 @@ Similar to @scheme[map], but @scheme[proc] is called only for its
@defproc[(foldl [proc procedure?] [init any/c] [lst list?] ...+)
list?]{
any/c]{
Like @scheme[map], @scheme[foldl] applies a procedure to the
elements of one or more lists. Whereas @scheme[map] combines the return
@ -263,7 +263,7 @@ Unlike @scheme[foldr], @scheme[foldl] processes the @scheme[lst]s in
]}
@defproc[(foldr [proc procedure?] [init any/c] [lst list?] ...+)
list?]{
any/c]{
Like @scheme[foldl], but the lists are traversed from right to left.
Unlike @scheme[foldl], @scheme[foldr] processes the @scheme[lst]s in