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. readMessageWithRegistry :: Message msg => Registry -> Text -> Either String msg

    proto-lens Data.ProtoLens.TextFormat

    Parse a Message from a human-readable protocol buffer text format, using the given Registry to decode Any fields

  2. readSV :: MSampleVar a -> IO a

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

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

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

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

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

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

  8. readByteArray :: (PrimMonad m, Prim a, Bytes a) => MutableByteArray (PrimState m) -> Int -> m a

    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 elements of type a rather than in bytes.

  9. readUnalignedByteArray :: (PrimMonad m, PrimUnaligned a, Bytes a) => MutableByteArray (PrimState m) -> Int -> m a

    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.

  10. readByteArray :: (PrimMonad m, Prim a, Bytes a) => MutableByteArray (PrimState m) -> Int -> m a

    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 elements of type a rather than in bytes.

Page 219 of many | Previous | Next