Hoogle Search
Within LTS Haskell 24.51 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
minusNaturalMaybe :: Natural -> Natural -> Maybe Naturalbase-compat-batteries Numeric.Natural.Compat Natural subtraction. Returns Nothings for non-positive results.
varTToName_maybe :: Type -> Maybe Namederiving-compat Data.Deriving.Internal Extract Just the Name from a type variable. If the argument Type is not a type variable, return Nothing.
-
generic-random Generic.Random.Internal.BaseCase No documentation available.
catMaybes :: Infinite (Maybe a) -> Infinite ainfinite-list Data.List.Infinite Keep only Just elements. This function isn't productive (e. g., head . catMaybes won't terminate), if no elements of the input list are Just.
mapMaybe :: (a -> Maybe b) -> Infinite a -> Infinite binfinite-list Data.List.Infinite Apply a function to every element of an infinite list and collect Just results. This function isn't productive (e. g., head . mapMaybe f won't terminate), if no elements of the input list result in Just.
-
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