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.
read16 :: Readable a => a -> IO Word16network-byte-order Network.ByteOrder Reading two bytes as Word16 and ff two bytes.
>>> withReadBuffer "\x0\x1\x2\x3" $ read16 1
read24 :: Readable a => a -> IO Word32network-byte-order Network.ByteOrder Reading three bytes as Word32 and ff three bytes.
>>> withReadBuffer "\x0\x1\x2\x3" $ read24 258
read32 :: Readable a => a -> IO Word32network-byte-order Network.ByteOrder Reading four bytes as Word32 and ff four bytes.
>>> withReadBuffer "\x0\x1\x2\x3" $ read32 66051
read64 :: Readable a => a -> IO Word64network-byte-order Network.ByteOrder Reading four bytes as Word64 and ff four bytes.
read8 :: Readable a => a -> IO Word8network-byte-order Network.ByteOrder Reading one byte as Word8 and ff one byte.
readInt8 :: Readable a => a -> IO Intnetwork-byte-order Network.ByteOrder Reading one byte as Int and ff one byte. If buffer overrun occurs, -1 is returned.
readField :: ParseField a => ReadM aoptparse-generic Options.Generic No documentation available.
readIntegralBounded :: (Integral a, Bounded a, Typeable a, ParseField a) => ReadM aoptparse-generic Options.Generic No documentation available.
readFile :: FilePath -> IO Stringprelude-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.
readIO :: Read a => String -> IO aprelude-compat Prelude2010 The readIO function is similar to read except that it signals parse failure to the IO monad instead of terminating the program.