Shpadoinkle-widgets-0.2.0.1: A collection of common reusable types and components.
Shpadoinkle.Widgets.Types.Pagination
newtype CurrentScrollY Source #
Constructors
Defined in Shpadoinkle.Widgets.Types.Pagination
Methods
succ :: CurrentScrollY -> CurrentScrollY Source #
pred :: CurrentScrollY -> CurrentScrollY Source #
toEnum :: Int -> CurrentScrollY Source #
fromEnum :: CurrentScrollY -> Int Source #
enumFrom :: CurrentScrollY -> [CurrentScrollY] Source #
enumFromThen :: CurrentScrollY -> CurrentScrollY -> [CurrentScrollY] Source #
enumFromTo :: CurrentScrollY -> CurrentScrollY -> [CurrentScrollY] Source #
enumFromThenTo :: CurrentScrollY -> CurrentScrollY -> CurrentScrollY -> [CurrentScrollY] Source #
(==) :: CurrentScrollY -> CurrentScrollY -> Bool Source #
(/=) :: CurrentScrollY -> CurrentScrollY -> Bool Source #
quot :: CurrentScrollY -> CurrentScrollY -> CurrentScrollY Source #
rem :: CurrentScrollY -> CurrentScrollY -> CurrentScrollY Source #
div :: CurrentScrollY -> CurrentScrollY -> CurrentScrollY Source #
mod :: CurrentScrollY -> CurrentScrollY -> CurrentScrollY Source #
quotRem :: CurrentScrollY -> CurrentScrollY -> (CurrentScrollY, CurrentScrollY) Source #
divMod :: CurrentScrollY -> CurrentScrollY -> (CurrentScrollY, CurrentScrollY) Source #
toInteger :: CurrentScrollY -> Integer Source #
(+) :: CurrentScrollY -> CurrentScrollY -> CurrentScrollY Source #
(-) :: CurrentScrollY -> CurrentScrollY -> CurrentScrollY Source #
(*) :: CurrentScrollY -> CurrentScrollY -> CurrentScrollY Source #
negate :: CurrentScrollY -> CurrentScrollY Source #
abs :: CurrentScrollY -> CurrentScrollY Source #
signum :: CurrentScrollY -> CurrentScrollY Source #
fromInteger :: Integer -> CurrentScrollY Source #
compare :: CurrentScrollY -> CurrentScrollY -> Ordering Source #
(<) :: CurrentScrollY -> CurrentScrollY -> Bool Source #
(<=) :: CurrentScrollY -> CurrentScrollY -> Bool Source #
(>) :: CurrentScrollY -> CurrentScrollY -> Bool Source #
(>=) :: CurrentScrollY -> CurrentScrollY -> Bool Source #
max :: CurrentScrollY -> CurrentScrollY -> CurrentScrollY Source #
min :: CurrentScrollY -> CurrentScrollY -> CurrentScrollY Source #
readsPrec :: Int -> ReadS CurrentScrollY Source #
readList :: ReadS [CurrentScrollY] Source #
readPrec :: ReadPrec CurrentScrollY Source #
readListPrec :: ReadPrec [CurrentScrollY] Source #
toRational :: CurrentScrollY -> Rational Source #
showsPrec :: Int -> CurrentScrollY -> ShowS Source #
show :: CurrentScrollY -> String Source #
showList :: [CurrentScrollY] -> ShowS Source #
Associated Types
type Rep CurrentScrollY :: Type -> Type Source #
from :: CurrentScrollY -> Rep CurrentScrollY x Source #
to :: Rep CurrentScrollY x -> CurrentScrollY Source #
rnf :: CurrentScrollY -> () Source #
toJSON :: CurrentScrollY -> Value Source #
toEncoding :: CurrentScrollY -> Encoding Source #
toJSONList :: [CurrentScrollY] -> Value Source #
toEncodingList :: [CurrentScrollY] -> Encoding Source #
parseJSON :: Value -> Parser CurrentScrollY Source #
parseJSONList :: Value -> Parser [CurrentScrollY] Source #
newtype Offset Source #
succ :: Offset -> Offset Source #
pred :: Offset -> Offset Source #
toEnum :: Int -> Offset Source #
fromEnum :: Offset -> Int Source #
enumFrom :: Offset -> [Offset] Source #
enumFromThen :: Offset -> Offset -> [Offset] Source #
enumFromTo :: Offset -> Offset -> [Offset] Source #
enumFromThenTo :: Offset -> Offset -> Offset -> [Offset] Source #
(==) :: Offset -> Offset -> Bool Source #
(/=) :: Offset -> Offset -> Bool Source #
quot :: Offset -> Offset -> Offset Source #
rem :: Offset -> Offset -> Offset Source #
div :: Offset -> Offset -> Offset Source #
mod :: Offset -> Offset -> Offset Source #
quotRem :: Offset -> Offset -> (Offset, Offset) Source #
divMod :: Offset -> Offset -> (Offset, Offset) Source #
toInteger :: Offset -> Integer Source #
(+) :: Offset -> Offset -> Offset Source #
(-) :: Offset -> Offset -> Offset Source #
(*) :: Offset -> Offset -> Offset Source #
negate :: Offset -> Offset Source #
abs :: Offset -> Offset Source #
signum :: Offset -> Offset Source #
fromInteger :: Integer -> Offset Source #
compare :: Offset -> Offset -> Ordering Source #
(<) :: Offset -> Offset -> Bool Source #
(<=) :: Offset -> Offset -> Bool Source #
(>) :: Offset -> Offset -> Bool Source #
(>=) :: Offset -> Offset -> Bool Source #
max :: Offset -> Offset -> Offset Source #
min :: Offset -> Offset -> Offset Source #
readsPrec :: Int -> ReadS Offset Source #
readList :: ReadS [Offset] Source #
readPrec :: ReadPrec Offset Source #
readListPrec :: ReadPrec [Offset] Source #
toRational :: Offset -> Rational Source #
showsPrec :: Int -> Offset -> ShowS Source #
show :: Offset -> String Source #
showList :: [Offset] -> ShowS Source #
type Rep Offset :: Type -> Type Source #
from :: Offset -> Rep Offset x Source #
to :: Rep Offset x -> Offset Source #
rnf :: Offset -> () Source #
toJSON :: Offset -> Value Source #
toEncoding :: Offset -> Encoding Source #
toJSONList :: [Offset] -> Value Source #
toEncodingList :: [Offset] -> Encoding Source #
parseJSON :: Value -> Parser Offset Source #
parseJSONList :: Value -> Parser [Offset] Source #
toUrlPiece :: Offset -> Text Source #
toEncodedUrlPiece :: Offset -> Builder Source #
toHeader :: Offset -> ByteString Source #
toQueryParam :: Offset -> Text Source #
parseUrlPiece :: Text -> Either Text Offset Source #
parseHeader :: ByteString -> Either Text Offset Source #
parseQueryParam :: Text -> Either Text Offset Source #
toJSVal :: Offset -> JSM JSVal Source #
toJSValListOf :: [Offset] -> JSM JSVal Source #
fromJSVal :: JSVal -> JSM (Maybe Offset) Source #
fromJSValUnchecked :: JSVal -> JSM Offset Source #
fromJSValListOf :: JSVal -> JSM (Maybe [Offset]) Source #
fromJSValUncheckedListOf :: JSVal -> JSM [Offset] Source #
newtype Length Source #
succ :: Length -> Length Source #
pred :: Length -> Length Source #
toEnum :: Int -> Length Source #
fromEnum :: Length -> Int Source #
enumFrom :: Length -> [Length] Source #
enumFromThen :: Length -> Length -> [Length] Source #
enumFromTo :: Length -> Length -> [Length] Source #
enumFromThenTo :: Length -> Length -> Length -> [Length] Source #
(==) :: Length -> Length -> Bool Source #
(/=) :: Length -> Length -> Bool Source #
quot :: Length -> Length -> Length Source #
rem :: Length -> Length -> Length Source #
div :: Length -> Length -> Length Source #
mod :: Length -> Length -> Length Source #
quotRem :: Length -> Length -> (Length, Length) Source #
divMod :: Length -> Length -> (Length, Length) Source #
toInteger :: Length -> Integer Source #
(+) :: Length -> Length -> Length Source #
(-) :: Length -> Length -> Length Source #
(*) :: Length -> Length -> Length Source #
negate :: Length -> Length Source #
abs :: Length -> Length Source #
signum :: Length -> Length Source #
fromInteger :: Integer -> Length Source #
compare :: Length -> Length -> Ordering Source #
(<) :: Length -> Length -> Bool Source #
(<=) :: Length -> Length -> Bool Source #
(>) :: Length -> Length -> Bool Source #
(>=) :: Length -> Length -> Bool Source #
max :: Length -> Length -> Length Source #
min :: Length -> Length -> Length Source #
readsPrec :: Int -> ReadS Length Source #
readList :: ReadS [Length] Source #
readPrec :: ReadPrec Length Source #
readListPrec :: ReadPrec [Length] Source #
toRational :: Length -> Rational Source #
showsPrec :: Int -> Length -> ShowS Source #
show :: Length -> String Source #
showList :: [Length] -> ShowS Source #
type Rep Length :: Type -> Type Source #
from :: Length -> Rep Length x Source #
to :: Rep Length x -> Length Source #
rnf :: Length -> () Source #
toJSON :: Length -> Value Source #
toEncoding :: Length -> Encoding Source #
toJSONList :: [Length] -> Value Source #
toEncodingList :: [Length] -> Encoding Source #
parseJSON :: Value -> Parser Length Source #
parseJSONList :: Value -> Parser [Length] Source #
toUrlPiece :: Length -> Text Source #
toEncodedUrlPiece :: Length -> Builder Source #
toHeader :: Length -> ByteString Source #
toQueryParam :: Length -> Text Source #
parseUrlPiece :: Text -> Either Text Length Source #
parseHeader :: ByteString -> Either Text Length Source #
parseQueryParam :: Text -> Either Text Length Source #
toJSVal :: Length -> JSM JSVal Source #
toJSValListOf :: [Length] -> JSM JSVal Source #
fromJSVal :: JSVal -> JSM (Maybe Length) Source #
fromJSValUnchecked :: JSVal -> JSM Length Source #
fromJSValListOf :: JSVal -> JSM (Maybe [Length]) Source #
fromJSValUncheckedListOf :: JSVal -> JSM [Length] Source #
data Page Source #
Fields
(==) :: Page -> Page -> Bool Source #
(/=) :: Page -> Page -> Bool Source #
compare :: Page -> Page -> Ordering Source #
(<) :: Page -> Page -> Bool Source #
(<=) :: Page -> Page -> Bool Source #
(>) :: Page -> Page -> Bool Source #
(>=) :: Page -> Page -> Bool Source #
max :: Page -> Page -> Page Source #
min :: Page -> Page -> Page Source #
readsPrec :: Int -> ReadS Page Source #
readList :: ReadS [Page] Source #
readPrec :: ReadPrec Page Source #
readListPrec :: ReadPrec [Page] Source #
showsPrec :: Int -> Page -> ShowS Source #
show :: Page -> String Source #
showList :: [Page] -> ShowS Source #
type Rep Page :: Type -> Type Source #
from :: Page -> Rep Page x Source #
to :: Rep Page x -> Page Source #
rnf :: Page -> () Source #
toJSON :: Page -> Value Source #
toEncoding :: Page -> Encoding Source #
toJSONList :: [Page] -> Value Source #
toEncodingList :: [Page] -> Encoding Source #
parseJSON :: Value -> Parser Page Source #
parseJSONList :: Value -> Parser [Page] Source #
toUrlPiece :: Page -> Text Source #
toEncodedUrlPiece :: Page -> Builder Source #
toHeader :: Page -> ByteString Source #
toQueryParam :: Page -> Text Source #
parseUrlPiece :: Text -> Either Text Page Source #
parseHeader :: ByteString -> Either Text Page Source #
parseQueryParam :: Text -> Either Text Page Source #
toJSVal :: Page -> JSM JSVal Source #
toJSValListOf :: [Page] -> JSM JSVal Source #
fromJSVal :: JSVal -> JSM (Maybe Page) Source #
fromJSValUnchecked :: JSVal -> JSM Page Source #
fromJSValListOf :: JSVal -> JSM (Maybe [Page]) Source #
fromJSValUncheckedListOf :: JSVal -> JSM [Page] Source #