servant-pagination: Type-safe pagination for Servant APIs
This module offers opinionated helpers to declare a type-safe and a flexible pagination mecanism for Servant APIs. This design, inspired by Heroku's API, provides a small framework to communicate about a possible pagination feature of an endpoint, enabling a client to consume the API in different fashions (pagination with offset / limit, endless scroll using last referenced resources, ascending and descending ordering, etc.)
[Skip to Readme]
Flags
Manual Flags
Name | Description | Default |
---|---|---|
examples | build examples executables | Disabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- servant-pagination-2.1.0.tar.gz [browse] (Cabal source package)
- Package description (revised from the package)
Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 1.0.0, 2.0.0, 2.1.0, 2.1.1, 2.1.2, 2.1.3, 2.2.0, 2.2.1, 2.2.2, 2.3.0, 2.4.0, 2.4.1, 2.4.2, 2.5.0, 2.5.1 (info) |
---|---|
Change log | CHANGELOG.md |
Dependencies | aeson (>=1.2 && <2), base (>=4 && <5), safe (>=0.3 && <1), servant (>=0.11 && <0.14), servant-pagination, servant-server (>=0.11 && <0.14), text (>=1.2 && <2), warp (>=3.2 && <4) [details] |
License | LGPL-3.0-only |
Copyright | (c) 2018 Chordify |
Author | Chordify |
Maintainer | Chordify <haskelldevelopers@chordify.net>, Matthias Benkort <matthias.benkort@gmail.com> |
Revised | Revision 1 made by KtorZ at 2018-04-17T07:06:37Z |
Category | Web |
Home page | https://github.com/chordify/haskell-servant-pagination |
Bug tracker | https://github.com/chordify/haskell-servant-pagination/issues |
Source repo | head: git clone git://github.com/chordify/haskell-servant-pagination.git |
Uploaded | by KtorZ at 2018-04-16T13:29:08Z |
Distributions | NixOS:2.5.1 |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Executables | servant-pagination-complex, servant-pagination-simple |
Downloads | 6374 total (1 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2018-04-16 [all 1 reports] |