Hoogle Search
Within LTS Haskell 24.51 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
toPages :: PageNumber -> PerPage -> ItemsCount -> [a] -> Pages ayesod-paginator Yesod.Paginator.Pages Construct a Pages a from paginated data
>>> toPages 4 3 10 [] Pages {pagesCurrent = Page {pageItems = [], pageNumber = 4}, pagesPrevious = [1,2,3], pagesNext = [], pagesLast = 4}getCurrentPage :: MonadHandler m => m PageNumberyesod-paginator Yesod.Paginator.Paginate No documentation available.
paginationConfigPageParamName :: PaginationConfig -> PageParamNameyesod-paginator Yesod.Paginator.Paginate No documentation available.
paginationConfigPerPage :: PaginationConfig -> PerPageyesod-paginator Yesod.Paginator.Paginate No documentation available.
unPageParamName :: PageParamName -> Textyesod-paginator Yesod.Paginator.Paginate No documentation available.
paginationConfigPageParamName :: PaginationConfig -> PageParamNameyesod-paginator Yesod.Paginator.PaginationConfig No documentation available.
paginationConfigPerPage :: PaginationConfig -> PerPageyesod-paginator Yesod.Paginator.PaginationConfig No documentation available.
unPageParamName :: PageParamName -> Textyesod-paginator Yesod.Paginator.PaginationConfig No documentation available.
setPageParameters :: Show a => PageParamName -> a -> [(Text, Text)] -> [(Text, Text)]yesod-paginator Yesod.Paginator.Widgets No documentation available.
widgetToPageContent :: Yesod site => WidgetFor site () -> HandlerFor site (PageContent (Route site))classy-prelude-yesod ClassyPrelude.Yesod Convert a widget to a PageContent.