[web-devel] ANN: yesod-paginate

Alexander Dunlap alexander.dunlap at gmail.com
Tue Dec 21 18:37:46 CET 2010

I have just released yesod-paginate[1], a simple Yesod-based subsite
library that simplifies somewhat the process of paginating long series
of items. The library does not deal with formatting (that is provided
by the user as a subsite argument); it merely sets up some URLs that
allow users to view items a few at a time. It also provides prevLink
and nextLink functions that provide the routes to the next and
previous page of items.

The URL scheme is as follows:

/ : redirect to /(default number of entries)/0
/x : redirect to /(default number of entries)/x
/y/x : view items y at a time, starting with entry x

There is also a git repository[2]. Any feedback or questions can be
emailed to me.

[1]: http://hackage.haskell.org/package/yesod-paginate
[2]: https://github.com/ajdunlap/yesod-paginate

Alexander Dunlap

More information about the web-devel mailing list