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.
adjust' :: Ord k => (a -> a) -> k -> Map k a -> Map k alrucache 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.
-
lumberjack Lumberjack No documentation available.
catchJust :: (MonadPeelIO m, Exception e) => (e -> Maybe b) -> m a -> (b -> m a) -> m amonad-peel Control.Exception.Peel Generalized version of catchJust.
handleJust :: (MonadPeelIO m, Exception e) => (e -> Maybe b) -> (b -> m a) -> m a -> m amonad-peel Control.Exception.Peel Generalized version of handleJust.
tryJust :: (MonadPeelIO m, Exception e) => (e -> Maybe b) -> m a -> m (Either b a)monad-peel Control.Exception.Peel Generalized version of tryJust.
adjust :: (Ord k, MonoidNull v) => (v -> v) -> k -> MonoidMap k v -> MonoidMap k vmonoidmap-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
singleListToJust :: [a] -> Maybe apolysemy-plugin Polysemy.Plugin.Fundep.Utils Returns the head of the list iff there is exactly one element.
saslFromJust :: Maybe a -> ExceptT AuthFailure (StateT StreamState IO) apontarius-xmpp Network.Xmpp.Internal Extract value from Just, failing with AuthOtherFailure on Nothing.
adjust :: (e -> e) -> Int -> By6Bits e -> By6Bits eprimitive-extras PrimitiveExtras.By6Bits No documentation available.
adjust :: (a -> a) -> Int -> SmallArray a -> SmallArray aprimitive-extras PrimitiveExtras.SmallArray No documentation available.