Hoogle Search

Within LTS Haskell 24.52 (ghc-9.10.3)

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

  1. boxShadowWithSpread :: Size a -> Size a -> Size a -> Size a -> Color -> Css

    clay Clay.Box

    Deprecated: This function has been replaced with shadowWithSpread and bsColor and will be removed.

  2. shadowWithSpread :: Size a -> Size a -> Size a -> Size a -> BoxShadow

    clay Clay.Box

    While this function is the correct type to work with the sym, sym2 or sym3 functions, such applications are unlikely to be meaningful.

  3. mkBackgroundThread :: Capacity -> IO (BackgroundWorker (IO ()))

    co-log-concurrent Colog.Concurrent

    Create a background worker with a given capacity. If capacity is reached, then the thread that tries to write logs will be blocked. This method is more generic than forkBackgroundLogger but it's less effective, as you have to pass entire closure to be run and that leads to extra memory usage and indirect calls happening. When closed it will dump all pending messages, unless another asynchronous exception will arrive, or synchronous exception will happen during the logging. Note. Limit parameter of capacity is ignored here as the function performs IO actions and seems that doesn't benefit from the chunking. However it may change in the future versions if proved to be wrong.

  4. runInBackgroundThread :: BackgroundWorker (IO ()) -> LogAction IO msg -> LogAction IO msg

    co-log-concurrent Colog.Concurrent

    Run logger action asynchronously in the worker thread. Logger is executed in the other thread entirely, so if logger takes any thread related context it will be read from the other thread.

  5. backgroundWorkerThreadId :: BackgroundWorker msg -> !ThreadId

    co-log-concurrent Colog.Concurrent.Internal

    Background ThreadId.

  6. thread :: Foldable t => t (a -> a) -> a -> a

    composition-prelude Control.Composition

    No documentation available.

  7. threadM :: (Monad m, Foldable t, Applicative m) => t (a -> m a) -> a -> m a

    composition-prelude Control.Composition

    No documentation available.

  8. hyperthreadingFactor :: [CPU] -> Rational

    cpuinfo System.CPU

    The hyperthreading factor is the number of logical cores divided by the number of physical cores. This quantity indicates the degree to which physical execution resources are shared among logical processors, and may be used to tune parallel applications.

  9. hyperthreadingInUse :: [CPU] -> Bool

    cpuinfo System.CPU

    If hyperthreading is in use, the hyperthreadingFactor will be greater than 1.

  10. serverThreadId :: Server -> ThreadId

    ekg System.Remote.Monitoring

    The thread ID of the server. You can kill the server by killing this thread (i.e. by throwing it an asynchronous exception.)

Page 843 of many | Previous | Next