fix some links in the cabal descriptions
This commit is contained in:
parent
3745446128
commit
405d69d954
3 changed files with 3 additions and 14 deletions
|
@ -5,17 +5,7 @@ description:
|
|||
This library lets you derive automatically Haskell functions that
|
||||
let you query each endpoint of a <http://hackage.haskell.org/package/servant servant> 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 <http://haskell-servant.github.io/tutorial/client.html the client section of the tutorial>.
|
||||
.
|
||||
<https://github.com/haskell-servant/servant/blob/master/servant-client/CHANGELOG.md CHANGELOG>
|
||||
license: BSD3
|
||||
|
|
|
@ -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 <http://haskell-servant.github.io/getting-started/ the getting started>
|
||||
guide.
|
||||
You can learn about the basics in the <http://haskell-servant.github.io/tutorial tutorial>.
|
||||
.
|
||||
<https://github.com/haskell-servant/servant/blob/master/servant-server/example/greet.hs Here>
|
||||
is a runnable example, with comments, that defines a dummy API and implements
|
||||
|
|
|
@ -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 <http://haskell-servant.github.io/getting-started/ the getting started> guide.
|
||||
You can learn about the basics in the <http://haskell-servant.github.io/tutorial tutorial>.
|
||||
.
|
||||
<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
|
||||
implements a webserver that serves this API, using the <http://hackage.haskell.org/package/servant-server servant-server> package.
|
||||
|
|
Loading…
Reference in a new issue