Hoogle Search
Within LTS Haskell 24.36 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
sandwich Test.Sandwich.Contexts Try to get a context by its label. If not is in scope, returns Nothing.
captureParamMaybe :: Parsable a => Text -> ActionM (Maybe a)scotty Web.Scotty Synonym for pathParamMaybe Since: 0.21
formParamMaybe :: Parsable a => Text -> ActionM (Maybe a)scotty Web.Scotty Look up a form parameter. Returns Nothing if the parameter is not found or cannot be parsed at the right type. NB : Doesn't throw exceptions, so developers must raiseStatus or throw to signal something went wrong. Since: 0.21
pathParamMaybe :: Parsable a => Text -> ActionM (Maybe a)scotty Web.Scotty Look up a path parameter. Returns Nothing if the parameter is not found or cannot be parsed at the right type. NB : Doesn't throw exceptions. In particular, route pattern matching will not continue, so developers must raiseStatus or throw to signal something went wrong. Since: 0.21
queryParamMaybe :: Parsable a => Text -> ActionM (Maybe a)scotty Web.Scotty Look up a query parameter. Returns Nothing if the parameter is not found or cannot be parsed at the right type. NB : Doesn't throw exceptions, so developers must raiseStatus or throw to signal something went wrong. Since: 0.21
-
scotty Web.Scotty.Trans Look up a capture parameter. Returns Nothing if the parameter is not found or cannot be parsed at the right type. NB : Doesn't throw exceptions. In particular, route pattern matching will not continue, so developers must raiseStatus or throw to signal something went wrong. Since: 0.21
-
scotty Web.Scotty.Trans Look up a form parameter. Returns Nothing if the parameter is not found or cannot be parsed at the right type. NB : Doesn't throw exceptions, so developers must raiseStatus or throw to signal something went wrong. Since: 0.21
-
scotty Web.Scotty.Trans Look up a path parameter. Returns Nothing if the parameter is not found or cannot be parsed at the right type. NB : Doesn't throw exceptions. In particular, route pattern matching will not continue, so developers must raiseStatus or throw to signal something went wrong. Since: 0.21
-
scotty Web.Scotty.Trans Look up a query parameter. Returns Nothing if the parameter is not found or cannot be parsed at the right type. NB : Doesn't throw exceptions, so developers must raiseStatus or throw to signal something went wrong. Since: 0.21
-
scotty Web.Scotty.Trans.Strict Look up a capture parameter. Returns Nothing if the parameter is not found or cannot be parsed at the right type. NB : Doesn't throw exceptions. In particular, route pattern matching will not continue, so developers must raiseStatus or throw to signal something went wrong. Since: 0.21