Hoogle Search
Within LTS Haskell 24.50 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
readRef :: MonadRef m => Ref m a -> m aref-tf Control.Monad.Ref Read the value of a reference
readSV :: MSampleVar a -> IO aSafeSemaphore Control.Concurrent.MSampleVar Wait for a value to become available, then take it and return. The queue of blocked readSV threads is a fair FIFO queue. readSV can block and be interrupted, in which case it takes nothing. If 'readSV returns normally then it has taken a value.
readFirstYamlConfigFile :: HasCodec a => [Path r File] -> IO (Maybe a)autodocodec-yaml Autodocodec.Yaml Helper function to read the first in a list of yaml files for a type is HasCodec This will output a colourful yaml schema if parsing fails.
readYamlConfigFile :: HasCodec a => Path r File -> IO (Maybe a)autodocodec-yaml Autodocodec.Yaml Helper function to read a yaml file for a type in HasCodec This will output a colourful yaml schema if parsing fails.
readFirstYamlConfigFile :: HasCodec a => [Path r File] -> IO (Maybe a)autodocodec-yaml Autodocodec.Yaml.IO Helper function to read the first in a list of yaml files for a type is HasCodec This will output a colourful yaml schema if parsing fails.
readYamlConfigFile :: HasCodec a => Path r File -> IO (Maybe a)autodocodec-yaml Autodocodec.Yaml.IO Helper function to read a yaml file for a type in HasCodec This will output a colourful yaml schema if parsing fails.
readBMP :: FilePath -> IO (Either Error BMP)bmp Codec.BMP Read a BMP from a file. The file is checked for problems and unsupported features when read. If there is anything wrong this gives an Error instead.
readByteArray :: (PrimMonad m, Prim a, Bytes a) => MutableByteArray (PrimState m) -> Int -> m abyte-order Data.Primitive.ByteArray.BigEndian Read a primitive value from the byte array, interpreting the first byte as the most significant one. The offset is given in elements of type a rather than in bytes.
-
byte-order Data.Primitive.ByteArray.BigEndian Read a primitive value from the byte array, interpreting the first byte as the most significant one. The offset is given in bytes rather than in elements of type a.
readByteArray :: (PrimMonad m, Prim a, Bytes a) => MutableByteArray (PrimState m) -> Int -> m abyte-order Data.Primitive.ByteArray.LittleEndian Read a primitive value from the byte array, interpreting the first byte as the least significant one. The offset is given in elements of type a rather than in bytes.