Note
All of my GitHub repositories have been archived and will be migrated to Codeberg as I next work on them. This repository either now lives, or will live, at:
https://codeberg.org/pbrisbin/yesod-paginator
If you need to report an Issue or raise a PR, and this migration hasn't happened yet, send an email to me@pbrisbin.com.
Handle a database query and/or array-math to paginate a list and produce a page of items along with a pagination widget for navigating them.
See the top-level module documentation.
See the example. Run it with
stack build --flag yesod-paginator:examples
stack exec yesod-paginator-example
stack setup
stack build --pedantic --test