The servant-pagination package

[ Tags: lgpl, library, web ] [ Propose Tags ]

This module offers opinionated helpers to declare a type-safe and a flexible pagination mechanism 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.)


Versions 1.0.0
Dependencies aeson (>=1.2 && <2), base (==4.*), safe (>=0.3 && <1), servant (>=0.11 && <1), servant-pagination (==1.*), servant-server (>=0.11 && <1), text (>=1.2 && <2), warp (>=3.2 && <4) [details]
License LGPL-3
Copyright (c) 2018 Chordify
Author Chordify
Maintainer Matthias Benkort <> , Jeroen Bransen <> , Chordify <>
Category Web
Home page
Bug tracker
Source repo head: git clone git://
Uploaded Tue Feb 6 13:58:03 UTC 2018 by KtorZ
Updated Tue Feb 6 14:48:54 UTC 2018 by KtorZ to revision 1   [What is this?]
Distributions NixOS:1.0.0
Executables servant-pagination-complex, servant-pagination-simple
Downloads 27 total (27 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-02-06 [all 1 reports]
Hackage Matrix CI





build examples executables


Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


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