Hoogle Search

Within LTS Haskell 24.32 (ghc-9.10.3)

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

  1. maybe'vclock :: (Functor f, HasField s "maybe'vclock" a) => LensLike' f s a

    riak-protobuf Data.Riak.Proto

    No documentation available.

  2. maybe'vtag :: (Functor f, HasField s "maybe'vtag" a) => LensLike' f s a

    riak-protobuf Data.Riak.Proto

    No documentation available.

  3. maybe'w :: (Functor f, HasField s "maybe'w" a) => LensLike' f s a

    riak-protobuf Data.Riak.Proto

    No documentation available.

  4. maybe'writeOnce :: (Functor f, HasField s "maybe'writeOnce" a) => LensLike' f s a

    riak-protobuf Data.Riak.Proto

    No documentation available.

  5. maybe'youngVclock :: (Functor f, HasField s "maybe'youngVclock" a) => LensLike' f s a

    riak-protobuf Data.Riak.Proto

    No documentation available.

  6. maybeQueries :: (Text -> IO ()) -> Configuration -> [Query] -> IO (Maybe [QueryResult])

    sphinx Text.Search.Sphinx

    executes runQueries. Log warning and errors, automatically retry. Return a Nothing on error, otherwise a Just.

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

    strict-base-types Data.Maybe.Strict

    Analogous to maybeToList in Data.Maybe.

  8. maybeK :: b -> (a -> b) -> MaybeK a -> b

    unification-fd Control.Monad.MaybeK

    A version of maybe for convenience. This is almost identical to mplus but allows applying a continuation to Just values as well as handling Nothing errors. If you only want to handle the errors, use mplus instead.

  9. maybeMatch :: (a -> b) -> a -> Maybe b

    unipatterns UniPatterns

    Run a function returning Nothing if function fails to pattern match.

    >>> maybeMatch (\[a] -> a + 10) [5]
    Just 15
    
    >>> maybeMatch (\[a] -> a + 10) []
    Nothing
    
    >>> maybeMatch (\[a] -> a + 10) [1, 2, 3]
    Nothing
    

  10. maybeToEither :: a -> Maybe b -> Either a b

    verset Verset

    Given a Maybe, convert it to an Either, providing a suitable value for the Left should the value be Nothing.

    \a b -> maybeToEither a (Just b) == Right b
    \a -> maybeToEither a Nothing == Left a
    

Page 98 of many | Previous | Next