doc: swap takef / dropf codomain contracts

The codomain for `takef-right` didn't match `take-right`.
Same for `dropf-right`.
This commit is contained in:
Ben Greenman 2017-09-25 16:35:39 -04:00 committed by GitHub
parent 1933501658
commit f29d77d3d8

View File

@ -1055,8 +1055,8 @@ except that it can be faster.
@deftogether[( @deftogether[(
@defproc[(takef-right [lst any/c] [pred procedure?]) list?] @defproc[(takef-right [lst any/c] [pred procedure?]) any/c]
@defproc[(dropf-right [lst any/c] [pred procedure?]) any/c] @defproc[(dropf-right [lst any/c] [pred procedure?]) list?]
@defproc[(splitf-at-right [lst any/c] [pred procedure?]) (values list? any/c)] @defproc[(splitf-at-right [lst any/c] [pred procedure?]) (values list? any/c)]
)]{ )]{