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.

  1. minusNaturalMaybe :: Natural -> Natural -> Maybe Natural

    base-compat-batteries Numeric.Natural.Compat

    Natural subtraction. Returns Nothings for non-positive results.

  2. varTToName_maybe :: Type -> Maybe Name

    deriving-compat Data.Deriving.Internal

    Extract Just the Name from a type variable. If the argument Type is not a type variable, return Nothing.

  3. class IsMaybe (b :: Maybe t)

    generic-random Generic.Random.Internal.BaseCase

    No documentation available.

  4. catMaybes :: Infinite (Maybe a) -> Infinite a

    infinite-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.

  5. mapMaybe :: (a -> Maybe b) -> Infinite a -> Infinite b

    infinite-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.

  6. optionMaybe :: forall s (m :: Type -> Type) t u a . Stream s m t => ParsecT s u m a -> ParsecT s u m (Maybe a)

    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.

  7. runNonDetMaybe :: forall (r :: [(Type -> Type) -> Type -> Type]) a . Sem (NonDet ': r) a -> Sem r (Maybe a)

    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.

  8. getContextMaybe :: forall context m (l :: Symbol) a . (MonadReader context m, KnownSymbol l, Typeable context, Typeable a) => Label l a -> m (Maybe a)

    sandwich Test.Sandwich.Contexts

    Try to get a context by its label. If not is in scope, returns Nothing.

  9. captureParamMaybe :: Parsable a => Text -> ActionM (Maybe a)

    scotty Web.Scotty

    Synonym for pathParamMaybe Since: 0.21

  10. 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

Page 178 of many | Previous | Next