Hoogle Search

Within LTS Haskell 24.21 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. maybeQuot :: IntegralDomain d => d -> d -> Maybe d

    algebra Numeric.Domain.Integral

    No documentation available.

  2. maybeDelegate :: MonadDelegate r m => r -> m (Maybe a) -> m a

    alternators Control.Monad.Delegate

    maybe delegate the Just value, or just use the r.

  3. maybeAuthorized :: Yesod site => Route site -> Bool -> HandlerT site IO (Maybe (Route site))

    classy-prelude-yesod ClassyPrelude.Yesod

    Return the same URL if the user is authorized to see it. Built on top of isAuthorized. This is useful for building page that only contain links to pages the user is allowed to see.

  4. maybeC :: forall (m :: Type -> Type) i o a . Monad m => ConduitT i o m (Maybe a) -> ConduitT i o (MaybeT m) a

    classy-prelude-yesod ClassyPrelude.Yesod

    Wrap the base monad in MaybeT Since 1.0.11

  5. maybeToList :: Maybe a -> [a]

    classy-prelude-yesod ClassyPrelude.Yesod

    The maybeToList function returns an empty list when given Nothing or a singleton list when given Just.

    Examples

    Basic usage:
    >>> maybeToList (Just 7)
    [7]
    
    >>> maybeToList Nothing
    []
    
    One can use maybeToList to avoid pattern matching when combined with a function that (safely) works on lists:
    >>> import GHC.Internal.Text.Read ( readMaybe )
    
    >>> sum $ maybeToList (readMaybe "3")
    3
    
    >>> sum $ maybeToList (readMaybe "")
    0
    

  6. maybeAsSum :: (CoCartesian k, ObjectSum k u a, u ~ UnitObject k, Object k (Maybe a)) => k (Maybe a) (u + a)

    constrained-categories Control.Category.Constrained

    No documentation available.

  7. maybeFromSum :: (CoCartesian k, ObjectSum k u a, u ~ UnitObject k, Object k (Maybe a)) => k (u + a) (Maybe a)

    constrained-categories Control.Category.Constrained

    No documentation available.

  8. maybeAsSum :: (CoCartesian k, ObjectSum k u a, u ~ UnitObject k, Object k (Maybe a)) => k (Maybe a) (u + a)

    constrained-categories Control.Category.Constrained.Prelude

    No documentation available.

  9. maybeFromSum :: (CoCartesian k, ObjectSum k u a, u ~ UnitObject k, Object k (Maybe a)) => k (u + a) (Maybe a)

    constrained-categories Control.Category.Constrained.Prelude

    No documentation available.

  10. maybeKey :: String -> Maybe String -> Query

    copr-api Web.Fedora.Copr.API

    Maybe create a query key

Page 73 of many | Previous | Next