Safe Haskell | Safe-Infered |
---|
- getCurrentPage :: GHandler s m Int
- paginationWidget :: Int -> Int -> Int -> GWidget s m ()
Documentation
getCurrentPage :: GHandler s m IntSource
looks up the "p" GET param and converts it to an Int. returns a default of 1 when conversion fails.