From 74a52df1a1e837d5f9f7e74db2eaa33bed76303e Mon Sep 17 00:00:00 2001 From: Ben Gamari Date: Wed, 3 Jun 2015 07:13:49 -0400 Subject: [PATCH] API.Capture: Fix haddocks --- servant/src/Servant/API/Capture.hs | 1 + 1 file changed, 1 insertion(+) diff --git a/servant/src/Servant/API/Capture.hs b/servant/src/Servant/API/Capture.hs index a40e0233..9a2e1b61 100644 --- a/servant/src/Servant/API/Capture.hs +++ b/servant/src/Servant/API/Capture.hs @@ -9,6 +9,7 @@ import GHC.TypeLits (Symbol) -- | Capture a value from the request path under a certain type @a@. -- -- Example: +-- -- >>> -- GET /books/:isbn -- >>> type MyApi = "books" :> Capture "isbn" Text :> Get '[JSON] Book data Capture (sym :: Symbol) a