git.iko.soy/typeable/servant
on master help sign in
Fix 'Delete' documentation.
commitad39feb01e3a71894c468074e72422c02b743991 authorJulian K. Arni <jkarni@gmail.com> dateSun 11 Oct 2015, 21:08 (11 years ago) parent5a03238
1 file changed+1−1
servant/src/Servant/API/Delete.hs+1−1
servant/src/Servant/API/Delete.hs+1−1
@@ -11,7 +11,7 @@ import Data.Typeable (Typeable)
1111-- Example:
1212--
1313-- >>> -- DELETE /books/:isbn
14−-- >>> type MyApi = "books" :> Capture "isbn" Text :> Delete
14+-- >>> type MyApi = "books" :> Capture "isbn" Text :> Delete '[] ()
1515data Delete (contentTypes :: [*]) a
1616 deriving Typeable
1717