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.
adjustCtLoc :: Bool -> Bool -> CtLoc -> CtLocghc-lib-parser GHC.Tc.Types.CtLoc No documentation available.
adjustCtLocTyConBinder :: TyConBinder -> CtLoc -> CtLocghc-lib-parser GHC.Tc.Types.CtLoc No documentation available.
adjustDNameEnv :: (a -> a) -> DNameEnv a -> Name -> DNameEnv aghc-lib-parser GHC.Types.Name.Env No documentation available.
adjustUDFM :: Uniquable key => (elt -> elt) -> UniqDFM key elt -> key -> UniqDFM key eltghc-lib-parser GHC.Types.Unique.DFM Apply a function to a particular element
adjustUFM :: Uniquable key => (elt -> elt) -> UniqFM key elt -> key -> UniqFM key eltghc-lib-parser GHC.Types.Unique.FM No documentation available.
adjustUniqMap :: Uniquable k => (a -> a) -> UniqMap k a -> k -> UniqMap k aghc-lib-parser GHC.Types.Unique.Map No documentation available.
unitEnv_adjust :: (v -> v) -> UnitEnvGraphKey -> UnitEnvGraph v -> UnitEnvGraph vghc-lib-parser GHC.Unit.Env No documentation available.
catchJust :: Exception e => (e -> Maybe b) -> IO a -> (b -> IO a) -> IO aghc-lib-parser GHC.Utils.Exception The function catchJust is like catch, but it takes an extra argument which is an exception predicate, a function which selects which type of exceptions we're interested in.
catchJust (\e -> if isDoesNotExistErrorType (ioeGetErrorType e) then Just () else Nothing) (readFile f) (\_ -> do hPutStrLn stderr ("No such file: " ++ show f) return "")Any other exceptions which are not matched by the predicate are re-raised, and may be caught by an enclosing catch, catchJust, etc.handleJust :: Exception e => (e -> Maybe b) -> (b -> IO a) -> IO a -> IO aghc-lib-parser GHC.Utils.Exception A version of catchJust with the arguments swapped around (see handle).
tryJust :: Exception e => (e -> Maybe b) -> IO a -> IO (Either b a)ghc-lib-parser GHC.Utils.Exception A variant of try that takes an exception predicate to select which exceptions are caught (c.f. catchJust). If the exception does not match the predicate, it is re-thrown.