net/http-client: adjust data-procedure/c contract

Promise more (a `void?` result) and requies less (`any` instead of `any/c`).
This commit is contained in:
Matthew Flatt 2014-07-11 06:21:33 +01:00
parent ddf0a334a8
commit 4aa61744c6
2 changed files with 2 additions and 2 deletions

View File

@ -155,7 +155,7 @@ response, which is why there is no @racket[#:closed?] argument like
Contract for a procedure that accepts a procedure of one
argument, which is a string or byte string:
@racket[(-> (-> (or/c bytes? string?) any/c) any/c)].
@racket[(-> (-> (or/c bytes? string?) void?) any)].
}

View File

@ -299,7 +299,7 @@
#:close? #t))
(define data-procedure/c
(-> (-> (or/c bytes? string?) any/c) any/c))
(-> (-> (or/c bytes? string?) void?) any))
(provide
data-procedure/c