Hoogle Search

Within LTS Haskell 24.68 (ghc-9.10.3)

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

  1. threadCapability :: ThreadId -> IO (Int, Bool)

    protolude Protolude

    Returns the number of the capability on which the thread is currently running, and a boolean indicating whether the thread is locked to that capability or not. A thread is locked to a capability if it was created with forkOn.

  2. threadDelay :: Int -> IO ()

    protolude Protolude

    Suspends the current thread for a given number of microseconds (GHC only). There is no guarantee that the thread will be rescheduled promptly when the delay has expired, but the thread will never continue to run earlier than specified. Be careful not to exceed maxBound :: Int, which on 32-bit machines is only 2147483647 μs, less than 36 minutes. Consider using Control.Concurrent.Thread.Delay.delay from unbounded-delays package.

  3. threadWaitRead :: Fd -> IO ()

    protolude Protolude

    Block the current thread until data is available to read on the given file descriptor (GHC only). This will throw an IOError if the file descriptor was closed while this thread was blocked. To safely close a file descriptor that has been used with threadWaitRead, use closeFdWith.

  4. threadWaitReadSTM :: Fd -> IO (STM (), IO ())

    protolude Protolude

    Returns an STM action that can be used to wait for data to read from a file descriptor. The second returned value is an IO action that can be used to deregister interest in the file descriptor.

  5. threadWaitWrite :: Fd -> IO ()

    protolude Protolude

    Block the current thread until data can be written to the given file descriptor (GHC only). This will throw an IOError if the file descriptor was closed while this thread was blocked. To safely close a file descriptor that has been used with threadWaitWrite, use closeFdWith.

  6. threadWaitWriteSTM :: Fd -> IO (STM (), IO ())

    protolude Protolude

    Returns an STM action that can be used to wait until data can be written to a file descriptor. The second returned value is an IO action that can be used to deregister interest in the file descriptor.

  7. unsafeRead :: (HasCallStack, Read a) => [Char] -> a

    protolude Protolude.Unsafe

    No documentation available.

  8. runReaderIO :: ReaderIO e a -> e -> IO a

    reflex Control.Monad.ReaderIO

    No documentation available.

  9. alreadyUniqDynamic :: Dynamic t a -> UniqDynamic t a

    reflex Reflex.Dynamic.Uniq

    Create a UniqDynamic without uniqing it on creation. This will be slightly faster than uniqDynamic when used with a Dynamic whose values are always (or nearly always) different from its previous values; if used with a Dynamic whose values do not change frequently, it may be much slower than uniqDynamic

  10. class (ReflexHost t, Applicative m, Monad m) => MonadReadEvent t (m :: Type -> Type) | m -> t

    reflex Reflex.Host.Class

    Monad that allows to read events' values.

Page 544 of many | Previous | Next