Hoogle Search

Within LTS Haskell 24.39 (ghc-9.10.3)

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

  1. TooManyRedirects :: [Response ByteString] -> HttpExceptionContent

    http-conduit Network.HTTP.Conduit

    The server responded with too many redirects for a request. Contains the list of encountered responses containing redirects in reverse chronological order; including last redirect, which triggered the exception and was not followed.

  2. catchAny :: (HasCallStack, MonadCatch m) => m a -> (SomeException -> m a) -> m a

    safe-exceptions Control.Exception.Safe

    catch specialized to catch all synchronous exception

  3. catchAnyDeep :: (HasCallStack, MonadCatch m, MonadIO m, NFData a) => m a -> (SomeException -> m a) -> m a

    safe-exceptions Control.Exception.Safe

    catchDeep specialized to catch all synchronous exception

  4. handleAny :: (HasCallStack, MonadCatch m) => (SomeException -> m a) -> m a -> m a

    safe-exceptions Control.Exception.Safe

    Flipped version of catchAny

  5. handleAnyDeep :: (HasCallStack, MonadCatch m, MonadIO m, NFData a) => (SomeException -> m a) -> m a -> m a

    safe-exceptions Control.Exception.Safe

    Flipped version of catchAnyDeep

  6. tryAny :: (HasCallStack, MonadCatch m) => m a -> m (Either SomeException a)

    safe-exceptions Control.Exception.Safe

    try specialized to catch all synchronous exceptions

  7. tryAnyDeep :: (HasCallStack, MonadCatch m, MonadIO m, NFData a) => m a -> m (Either SomeException a)

    safe-exceptions Control.Exception.Safe

    tryDeep specialized to catch all synchronous exceptions

  8. isAbsoluteOnAnyPlatform :: FilePath -> Bool

    Cabal Distribution.Simple.Utils

    isAbsoluteOnAnyPlatform and isRelativeOnAnyPlatform are like isAbsolute and isRelative but have platform independent heuristics. The System.FilePath exists in two versions, Windows and Posix. The two versions don't agree on what is a relative path and we don't know if we're given Windows or Posix paths. This results in false positives when running on Posix and inspecting Windows paths, like the hackage server does. System.FilePath.Posix.isAbsolute "C:\hello" == False System.FilePath.Windows.isAbsolute "/hello" == False This means that we would treat paths that start with "/" to be absolute. On Posix they are indeed absolute, while on Windows they are not. The portable versions should be used when we might deal with paths that are from another OS than the host OS. For example, the Hackage Server deals with both Windows and Posix paths while performing the PackageDescription checks. In contrast, when we run 'cabal configure' we do expect the paths to be correct for our OS and we should not have to use the platform independent heuristics.

  9. isRelativeOnAnyPlatform :: FilePath -> Bool

    Cabal Distribution.Simple.Utils

    isRelativeOnAnyPlatform = not . isAbsoluteOnAnyPlatform
    

  10. AnnAnyclass :: AnnKeywordId

    ghc GHC

    No documentation available.

Page 109 of many | Previous | Next