on master help sign in
Update type of Application in README.md
commitd91a8f0be271f7f5b95e080689ebd204126ed619 authorWeerasak Chongnguluam <singpor@gmail.com> dateFri 27 Jan 2017, 12:17 (10 years ago) parentfe5215f
1 file changed+1−1
wai/README.md+1−1
wai/README.md+1−1
@@ -67,7 +67,7 @@ Basic dispatching
6767An `Application` maps `Request`s to `Response`s:
6868
6969 ghci> :info Application
70− type Application = Request -> IO Response
70+ type Application = Request -> (Response -> IO ResponseReceived) -> IO ResponseReceived
7171
7272Depending on the path info provided with each `Request` we can serve different `Response`s:
7373