From 405d69d954ffa44ad41c0585db510b89487c4f23 Mon Sep 17 00:00:00 2001 From: Alp Mestanogullari Date: Mon, 11 May 2015 10:43:52 +0200 Subject: [PATCH] fix some links in the cabal descriptions --- servant-client/servant-client.cabal | 12 +----------- servant-server/servant-server.cabal | 3 +-- servant/servant.cabal | 2 +- 3 files changed, 3 insertions(+), 14 deletions(-) diff --git a/servant-client/servant-client.cabal b/servant-client/servant-client.cabal index a71b8a55..9c330ead 100644 --- a/servant-client/servant-client.cabal +++ b/servant-client/servant-client.cabal @@ -5,17 +5,7 @@ description: This library lets you derive automatically Haskell functions that let you query each endpoint of a webservice. . - Example below. - . - > type MyApi = "books" :> Get [Book] -- GET /books - > :<|> "books" :> ReqBody Book :> Post Book -- POST /books - > - > myApi :: Proxy MyApi - > myApi = Proxy - > - > getAllBooks :: BaseUrl -> EitherT String IO [Book] - > postNewBook :: Book -> BaseUrl -> EitherT String IO Book - > (getAllBooks :<|> postNewBook) = client myApi + See . . license: BSD3 diff --git a/servant-server/servant-server.cabal b/servant-server/servant-server.cabal index d016520e..f4d34df1 100644 --- a/servant-server/servant-server.cabal +++ b/servant-server/servant-server.cabal @@ -4,8 +4,7 @@ synopsis: A family of combinators for defining webservices APIs and s description: A family of combinators for defining webservices APIs and serving them . - You can learn about the basics in - guide. + You can learn about the basics in the . . is a runnable example, with comments, that defines a dummy API and implements diff --git a/servant/servant.cabal b/servant/servant.cabal index baae128f..8c237a13 100644 --- a/servant/servant.cabal +++ b/servant/servant.cabal @@ -4,7 +4,7 @@ synopsis: A family of combinators for defining webservices APIs description: A family of combinators for defining webservices APIs and serving them . - You can learn about the basics in guide. + You can learn about the basics in the . . 's a runnable example, with comments, that defines a dummy API and implements a webserver that serves this API, using the package.