on master help sign in
fix some links in the cabal descriptions
405d69dAlp Mestanogullari
servant-client/servant-client.cabal+1−11
@@ -5,17 +5,7 @@ description:
5 This library lets you derive automatically Haskell functions that
5 This library lets you derive automatically Haskell functions that
6 let you query each endpoint of a <http://hackage.haskell.org/package/servant servant> webservice.
6 let you query each endpoint of a <http://hackage.haskell.org/package/servant servant> webservice.
7 .
7 .
8− Example below.
8+ See <http://haskell-servant.github.io/tutorial/client.html the client section of the tutorial>.
9− .
10− > type MyApi = "books" :> Get [Book] -- GET /books
11− > :<|> "books" :> ReqBody Book :> Post Book -- POST /books
12− >
13− > myApi :: Proxy MyApi
14− > myApi = Proxy
15− >
16− > getAllBooks :: BaseUrl -> EitherT String IO [Book]
17− > postNewBook :: Book -> BaseUrl -> EitherT String IO Book
18− > (getAllBooks :<|> postNewBook) = client myApi
19 .
9 .
20 <https://github.com/haskell-servant/servant/blob/master/servant-client/CHANGELOG.md CHANGELOG>
10 <https://github.com/haskell-servant/servant/blob/master/servant-client/CHANGELOG.md CHANGELOG>
21license: BSD3
11license: BSD3
servant-server/servant-server.cabal+1−2
@@ -4,8 +4,7 @@ synopsis: A family of combinators for defining webservices APIs and s
4description:
4description:
5 A family of combinators for defining webservices APIs and serving them
5 A family of combinators for defining webservices APIs and serving them
6 .
6 .
7− You can learn about the basics in <http://haskell-servant.github.io/getting-started/ the getting started>
7+ You can learn about the basics in the <http://haskell-servant.github.io/tutorial tutorial>.
8− guide.
9 .
8 .
10 <https://github.com/haskell-servant/servant/blob/master/servant-server/example/greet.hs Here>
9 <https://github.com/haskell-servant/servant/blob/master/servant-server/example/greet.hs Here>
11 is a runnable example, with comments, that defines a dummy API and implements
10 is a runnable example, with comments, that defines a dummy API and implements
servant/servant.cabal+1−1
@@ -4,7 +4,7 @@ synopsis: A family of combinators for defining webservices APIs
4description:
4description:
5 A family of combinators for defining webservices APIs and serving them
5 A family of combinators for defining webservices APIs and serving them
6 .
6 .
7− You can learn about the basics in <http://haskell-servant.github.io/getting-started/ the getting started> guide.
7+ You can learn about the basics in the <http://haskell-servant.github.io/tutorial tutorial>.
8 .
8 .
9 <https://github.com/haskell-servant/servant-server/blob/master/example/greet.hs Here>'s a runnable example, with comments, that defines a dummy API and
9 <https://github.com/haskell-servant/servant-server/blob/master/example/greet.hs Here>'s a runnable example, with comments, that defines a dummy API and
10 implements a webserver that serves this API, using the <http://hackage.haskell.org/package/servant-server servant-server> package.
10 implements a webserver that serves this API, using the <http://hackage.haskell.org/package/servant-server servant-server> package.