Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
paginate :: (Paginatable a, FromJSON (PaginationState a)) => (String -> DO (PaginationState a)) -> PaginationState a -> DO (PaginationState a) Source #
paginateUntil :: (Paginatable a, FromJSON (PaginationState a)) => PaginationConfig -> PaginationState a -> (String -> DO (PaginationState a)) -> DO (PaginationState a) Source #
parsePaginationState :: Paginatable a => Object -> Text -> Parser (PaginationState a) Source #