We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96ab0ee commit 2cb8d77Copy full SHA for 2cb8d77
servant/src/Servant/API/Raw.hs
@@ -12,13 +12,13 @@ import Data.Typeable (Typeable)
12
--
13
-- To plug a Wai 'Application' directly, you must use `Tagged`:
14
15
--- >>> type API = "foo" :> Get '[JSON] Int :<|> "bar" :> Raw
16
--- >>>
17
--- >>> app :: Application
18
--- >>> app = ...
19
20
--- >>> server :: Server API
21
--- >>> server = pure 42 :<|> Tagged app
+-- > type API = "foo" :> Get '[JSON] Int :<|> "bar" :> Raw
+-- >
+-- > app :: Application
+-- > app = ...
+-- > server :: Server API
+-- > server = pure 42 :<|> Tagged app
22
23
-- In addition to just letting you plug in your existing WAI 'Application's,
24
-- this can also be used with functions from
0 commit comments