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.
fdRead :: Fd -> ByteCount -> IO ByteStringunix System.Posix.IO.PosixString Read data from an Fd and return it as a ByteString. Throws an exception if this is an invalid descriptor, or EOF has been reached.
fdReadBuf :: Fd -> Ptr Word8 -> ByteCount -> IO ByteCountunix System.Posix.IO.PosixString Read data from an Fd into memory. This is exactly equivalent to the POSIX read function.
semThreadWait :: Semaphore -> IO ()unix System.Posix.Semaphore Poll the semaphore until it is available, then lock it. Unlike semWait, this will block only the current thread rather than the entire process.
shmReadWrite :: ShmOpenFlags -> Boolunix System.Posix.SharedMem If true, open the shm object read-write rather than read-only.
-
unix System.Posix.Signals Alias for sigTTIN.
ropt_threads :: RunnerOptions' (f :: Type -> Type) -> f Inttest-framework Test.Framework.Runners.Options No documentation available.
eitherReader :: (String -> Either String a) -> ReadM aoptparse-applicative Options.Applicative Convert a function producing an Either into a reader. As an example, one can create a ReadM from an attoparsec Parser easily with
import qualified Data.Attoparsec.Text as A import qualified Data.Text as T attoparsecReader :: A.Parser a -> ReadM a attoparsecReader p = eitherReader (A.parseOnly p . T.pack)
maybeReader :: (String -> Maybe a) -> ReadM aoptparse-applicative Options.Applicative Convert a function producing a Maybe into a reader.
eitherReader :: (String -> Either String a) -> ReadM aoptparse-applicative Options.Applicative.Builder Convert a function producing an Either into a reader. As an example, one can create a ReadM from an attoparsec Parser easily with
import qualified Data.Attoparsec.Text as A import qualified Data.Text as T attoparsecReader :: A.Parser a -> ReadM a attoparsecReader p = eitherReader (A.parseOnly p . T.pack)
maybeReader :: (String -> Maybe a) -> ReadM aoptparse-applicative Options.Applicative.Builder Convert a function producing a Maybe into a reader.