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. adjust' :: Ord k => (a -> a) -> k -> Map k a -> Map k a

    lrucache Data.Cache.LRU.Internal

    Internal function. This is very similar to adjust, with two major differences. First, it's strict in the application of the function, which is a huge win when working with this structure. Second, it requires that the key be present in order to work. If the key isn't present, undefined will be inserted into the Map, which will cause problems later.

  2. adjustLogAction :: LoggingMonad msg m => (forall (k :: Type -> Type) . () => LogAction k msg -> LogAction k msg) -> m a -> m a

    lumberjack Lumberjack

    No documentation available.

  3. catchJust :: (MonadPeelIO m, Exception e) => (e -> Maybe b) -> m a -> (b -> m a) -> m a

    monad-peel Control.Exception.Peel

    Generalized version of catchJust.

  4. handleJust :: (MonadPeelIO m, Exception e) => (e -> Maybe b) -> (b -> m a) -> m a -> m a

    monad-peel Control.Exception.Peel

    Generalized version of handleJust.

  5. tryJust :: (MonadPeelIO m, Exception e) => (e -> Maybe b) -> m a -> m (Either b a)

    monad-peel Control.Exception.Peel

    Generalized version of tryJust.

  6. adjust :: (Ord k, MonoidNull v) => (v -> v) -> k -> MonoidMap k v -> MonoidMap k v

    monoidmap-internal Data.MonoidMap.Internal

    Adjusts the value associated with the given key. Satisfies the following property:

    adjust f k m == set k (f (get k m)) m
    

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

    polysemy-plugin Polysemy.Plugin.Fundep.Utils

    Returns the head of the list iff there is exactly one element.

  8. saslFromJust :: Maybe a -> ExceptT AuthFailure (StateT StreamState IO) a

    pontarius-xmpp Network.Xmpp.Internal

    Extract value from Just, failing with AuthOtherFailure on Nothing.

  9. adjust :: (e -> e) -> Int -> By6Bits e -> By6Bits e

    primitive-extras PrimitiveExtras.By6Bits

    No documentation available.

  10. adjust :: (a -> a) -> Int -> SmallArray a -> SmallArray a

    primitive-extras PrimitiveExtras.SmallArray

    No documentation available.

Page 114 of many | Previous | Next