Hoogle Search

Within LTS Haskell 24.32 (ghc-9.10.3)

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

  1. read16 :: Readable a => a -> IO Word16

    network-byte-order Network.ByteOrder

    Reading two bytes as Word16 and ff two bytes.

    >>> withReadBuffer "\x0\x1\x2\x3" $ read16
    1
    

  2. read24 :: Readable a => a -> IO Word32

    network-byte-order Network.ByteOrder

    Reading three bytes as Word32 and ff three bytes.

    >>> withReadBuffer "\x0\x1\x2\x3" $ read24
    258
    

  3. read32 :: Readable a => a -> IO Word32

    network-byte-order Network.ByteOrder

    Reading four bytes as Word32 and ff four bytes.

    >>> withReadBuffer "\x0\x1\x2\x3" $ read32
    66051
    

  4. read64 :: Readable a => a -> IO Word64

    network-byte-order Network.ByteOrder

    Reading four bytes as Word64 and ff four bytes.

  5. read8 :: Readable a => a -> IO Word8

    network-byte-order Network.ByteOrder

    Reading one byte as Word8 and ff one byte.

  6. readInt8 :: Readable a => a -> IO Int

    network-byte-order Network.ByteOrder

    Reading one byte as Int and ff one byte. If buffer overrun occurs, -1 is returned.

  7. readField :: ParseField a => ReadM a

    optparse-generic Options.Generic

    No documentation available.

  8. readIntegralBounded :: (Integral a, Bounded a, Typeable a, ParseField a) => ReadM a

    optparse-generic Options.Generic

    No documentation available.

  9. readFile :: FilePath -> IO String

    prelude-compat Prelude2010

    The readFile function reads a file and returns the contents of the file as a string. The file is read lazily, on demand, as with getContents.

  10. readIO :: Read a => String -> IO a

    prelude-compat Prelude2010

    The readIO function is similar to read except that it signals parse failure to the IO monad instead of terminating the program.

Page 224 of many | Previous | Next