Hoogle Search

Within LTS Haskell 24.67 (ghc-9.10.3)

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

  1. module Data.CallStack

    No documentation available.

  2. type CallStack = [(String, SrcLoc)]

    call-stack Data.CallStack

    No documentation available.

  3. callSite :: HasCallStack => Maybe (String, SrcLoc)

    call-stack Data.CallStack

    No documentation available.

  4. callStack :: HasCallStack => CallStack

    call-stack Data.CallStack

    No documentation available.

  5. oall :: MonoFoldable mono => (Element mono -> Bool) -> mono -> Bool

    mono-traversable Data.MonoTraversable

    Are all of the elements in a monomorphic container converted to booleans True?

  6. groupAll :: (IsSequence seq, Eq (Element seq)) => seq -> [seq]

    mono-traversable Data.Sequences

    Similar to standard group, but operates on the whole collection, not just the consecutive items. Equivalent to groupAllOn id

  7. groupAllOn :: (IsSequence seq, Eq b) => (Element seq -> b) -> seq -> [seq]

    mono-traversable Data.Sequences

    Similar to standard groupBy, but operates on the whole collection, not just the consecutive items.

  8. destroyAllResources :: Pool a -> IO ()

    resource-pool Data.Pool

    Destroy all resources in all stripes in the pool. Note that this will ignore any exceptions in the destroy function. This function is useful when you detect that all resources in the pool are broken. For example after a database has been restarted all connections opened before the restart will be broken. In that case it's better to close those connections so that takeResource won't take a broken connection from the pool but will open a new connection instead. Another use-case for this function is that when you know you are done with the pool you can destroy all idle resources immediately instead of waiting on the garbage collector to destroy them, thus freeing up those resources sooner.

  9. destroyAllResources :: Pool a -> IO ()

    resource-pool Data.Pool.Internal

    Destroy all resources in all stripes in the pool. Note that this will ignore any exceptions in the destroy function. This function is useful when you detect that all resources in the pool are broken. For example after a database has been restarted all connections opened before the restart will be broken. In that case it's better to close those connections so that takeResource won't take a broken connection from the pool but will open a new connection instead. Another use-case for this function is that when you know you are done with the pool you can destroy all idle resources immediately instead of waiting on the garbage collector to destroy them, thus freeing up those resources sooner.

  10. destroyAllResources :: Pool a -> IO ()

    resource-pool Data.Pool.Introspection

    Destroy all resources in all stripes in the pool. Note that this will ignore any exceptions in the destroy function. This function is useful when you detect that all resources in the pool are broken. For example after a database has been restarted all connections opened before the restart will be broken. In that case it's better to close those connections so that takeResource won't take a broken connection from the pool but will open a new connection instead. Another use-case for this function is that when you know you are done with the pool you can destroy all idle resources immediately instead of waiting on the garbage collector to destroy them, thus freeing up those resources sooner.

Page 410 of many | Previous | Next