Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Pagination instance for HasClient
Documentation
Pagination parameters
Paged | |
|
paged :: Int -> Int -> Paged #
Construct Paged
from page size and page number.
Throws error on invalid values.
allPages :: Monad m => (Paged -> m [a]) -> m [a] Source #
Query all results, until we get less than maximum items per page.