Hoogle Search
Within LTS Haskell 24.67 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
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.
-
byte-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 bytes rather than in elements of type a.
readOffPtr :: (PrimMonad m, Prim a, Bytes a) => Ptr a -> Int -> m abyte-order Data.Primitive.Ptr.BigEndian Read a primitive value from the pointer, interpreting the first byte as the most significant one. The offset is given in elements of type a rather than in bytes.