Hoogle Search
Within LTS Haskell 24.45 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
pandoc Text.Pandoc.Parsing optionMaybe p tries to apply parser p. If p fails without consuming input, it return Nothing, otherwise it returns Just the value returned by p.
-
polysemy Polysemy.NonDet Run a NonDet effect in terms of an underlying Maybe Unlike runNonDet, uses of <|> will not execute the second branch at all if the first option succeeds.
-
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