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. fdRead :: Fd -> ByteCount -> IO ByteString

    unix 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.

  2. fdReadBuf :: Fd -> Ptr Word8 -> ByteCount -> IO ByteCount

    unix System.Posix.IO.PosixString

    Read data from an Fd into memory. This is exactly equivalent to the POSIX read function.

  3. 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.

  4. shmReadWrite :: ShmOpenFlags -> Bool

    unix System.Posix.SharedMem

    If true, open the shm object read-write rather than read-only.

  5. backgroundRead :: Signal

    unix System.Posix.Signals

    Alias for sigTTIN.

  6. ropt_threads :: RunnerOptions' (f :: Type -> Type) -> f Int

    test-framework Test.Framework.Runners.Options

    No documentation available.

  7. eitherReader :: (String -> Either String a) -> ReadM a

    optparse-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)
    

  8. maybeReader :: (String -> Maybe a) -> ReadM a

    optparse-applicative Options.Applicative

    Convert a function producing a Maybe into a reader.

  9. eitherReader :: (String -> Either String a) -> ReadM a

    optparse-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)
    

  10. maybeReader :: (String -> Maybe a) -> ReadM a

    optparse-applicative Options.Applicative.Builder

    Convert a function producing a Maybe into a reader.

Page 457 of many | Previous | Next