Actually, serve this one so it's useful in the Docs tutorial

This commit is contained in:
David Turner 2017-05-16 09:51:50 +00:00
parent 4c64c13af0
commit a87067a6c1

View File

@ -1023,10 +1023,10 @@ serverFor = error "..."
TODO prose TODO prose
``` haskell ``` haskell
type CombinedAPI2 = CombinedAPI :<|> EmptyAPI type CombinedAPI2 = API :<|> EmptyAPI
server11 :: Server CombinedAPI2 server11 :: Server CombinedAPI2
server11 = server10 :<|> emptyAPIServer server11 = server3 :<|> emptyAPIServer
``` ```
## Using another monad for your handlers ## Using another monad for your handlers