git.iko.soy/typeable/servant
on master help sign in
API.Capture: Fix haddocks
commit74a52df1a1e837d5f9f7e74db2eaa33bed76303e authorBen Gamari <bgamari.foss@gmail.com> dateWed 3 Jun 2015, 07:13 (11 years ago) parent939a008
1 file changed+1
servant/src/Servant/API/Capture.hs+1
servant/src/Servant/API/Capture.hs+1
@@ -9,6 +9,7 @@ import GHC.TypeLits (Symbol)
99-- | Capture a value from the request path under a certain type @a@.
1010--
1111-- Example:
12+--
1213-- >>> -- GET /books/:isbn
1314-- >>> type MyApi = "books" :> Capture "isbn" Text :> Get '[JSON] Book
1415data Capture (sym :: Symbol) a