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.
tryFdReadvBuf :: Fd -> Ptr CIovec -> Int -> IO (Either Errno ByteCount)unix-bytestring System.Posix.IO.ByteString.Ext Read data from an Fd and scatter it into memory. This is a variation of fdReadvBuf which returns errors with an Either instead of throwing exceptions. Since: 0.3.3
fdPread :: Fd -> ByteCount -> FileOffset -> IO ByteStringunix-bytestring System.Posix.IO.ByteString.Ext.Lazy Read data from a specified position in the Fd and convert it to a ByteString, without altering the position stored in the Fd. Throws an exception if this is an invalid descriptor, or EOF has been reached. This is a thin wrapper around fdPread. Since: 0.3.1
fdRead :: Fd -> ByteCount -> IO ByteStringunix-bytestring System.Posix.IO.ByteString.Ext.Lazy Read data from an Fd and convert it to a ByteString. Throws an exception if this is an invalid descriptor, or EOF has been reached. This is a thin wrapper around fdRead.
unRead :: MonadUnliftIO m => a -> InputStream a -> m ()unliftio-streams UnliftIO.Streams No documentation available.
_read :: InputStream a -> IO (Maybe a)unliftio-streams UnliftIO.Streams.Internal No documentation available.
_unRead :: InputStream a -> a -> IO ()unliftio-streams UnliftIO.Streams.Internal No documentation available.
-
verset Verset A ThreadId is an abstract type representing a handle to a thread. ThreadId is an instance of Eq, Ord and Show, where the Ord instance implements an arbitrary total ordering over ThreadIds. The Show instance lets you convert an arbitrary-valued ThreadId to string form; showing a ThreadId value is occasionally useful when debugging or diagnosing the behaviour of a concurrent program. Note: in GHC, if you have a ThreadId, you essentially have a pointer to the thread itself. This means the thread itself can't be garbage collected until you drop the ThreadId. This misfeature would be difficult to correct while continuing to support threadStatus.
-
verset Verset Returns the ThreadId of the calling thread (GHC only).
-
verset Verset 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.
maildirUnread :: FilePath -> Loggerxmonad-contrib XMonad.Util.Loggers Get a count of unread mails in a maildir. For maildir format details, to write loggers for other classes of mail, see http://cr.yp.to/proto/maildir.html and logFileCount.