Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
Query parameters for pagination.
PageQuery | |
|
Instances
Part of a collection.
Instances
Functor Page Source # | |
Eq a => Eq ( Page a) Source # | |
Ord a => Ord ( Page a) Source # | |
Defined in Control.Monad.Freer.Extras.Pagination |
|
Show a => Show ( Page a) Source # | |
Generic ( Page a) Source # | |
ToJSON a => ToJSON ( Page a) Source # | |
FromJSON a => FromJSON ( Page a) Source # | |
type Rep ( Page a) Source # | |
Defined in Control.Monad.Freer.Extras.Pagination
type
Rep
(
Page
a) =
D1
('
MetaData
"Page" "Control.Monad.Freer.Extras.Pagination" "freer-extras-1.2.0.0-LXgx2kLJeQTLxOMFH7LYd8" '
False
) (
C1
('
MetaCons
"Page" '
PrefixI
'
True
) (
S1
('
MetaSel
('
Just
"currentPageQuery") '
NoSourceUnpackedness
'
NoSourceStrictness
'
DecidedLazy
) (
Rec0
(
PageQuery
a))
:*:
(
S1
('
MetaSel
('
Just
"nextPageQuery") '
NoSourceUnpackedness
'
NoSourceStrictness
'
DecidedLazy
) (
Rec0
(
Maybe
(
PageQuery
a)))
:*:
S1
('
MetaSel
('
Just
"pageItems") '
NoSourceUnpackedness
'
NoSourceStrictness
'
DecidedLazy
) (
Rec0
[a]))))
|