API.Capture: Fix haddocks

This commit is contained in:
Ben Gamari 2015-06-03 07:13:49 -04:00
parent 939a008b67
commit 74a52df1a1

View File

@ -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