Hoogle Search
Within LTS Haskell 24.20 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
lookupJust :: (Eq a, Partial) => a -> [(a, b)] -> bsafe Safe lookupJust key = fromJust . lookup key
lookupJustDef :: Eq a => b -> a -> [(a, b)] -> bsafe Safe No documentation available.
lookupJustNote :: (Partial, Eq a) => String -> a -> [(a, b)] -> bsafe Safe No documentation available.
findJust :: (Partial, Foldable t) => (a -> Bool) -> t a -> asafe Safe.Foldable findJust op = fromJust . find op
findJustDef :: Foldable t => a -> (a -> Bool) -> t a -> asafe Safe.Foldable No documentation available.
findJustNote :: (Partial, Foldable t) => String -> (a -> Bool) -> t a -> asafe Safe.Foldable No documentation available.
findJustSafe :: (Monoid m, Foldable t) => (m -> Bool) -> t m -> msafe Safe.Foldable Deprecated: Use findJustDef mempty instead.
catchJust_ :: (SomeException -> Maybe b) -> IO a -> (b -> IO a) -> IO aextra Control.Exception.Extra handleJust_ :: (SomeException -> Maybe b) -> (b -> IO a) -> IO a -> IO aextra Control.Exception.Extra Like catch_ but for handleJust
tryJust_ :: (SomeException -> Maybe b) -> IO a -> IO (Either b a)extra Control.Exception.Extra