Hoogle Search

Within LTS Haskell 24.33 (ghc-9.10.3)

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

  1. readpBinary :: Binary a => STR a

    RefSerialize Data.RefSerialize

    deserialize a variable serialized by showpBinary

  2. readpText :: Read a => STR a

    RefSerialize Data.RefSerialize

    if a is an instance of Read, readpText can be used as the readp method the drawback is that the data inside is not inspected for common references so it is recommended to create your own readp method for your complex data structures

  3. readContent :: STR ByteString

    RefSerialize Data.RefSerialize.Parser

    No documentation available.

  4. readContext :: ByteString -> ByteString -> (ByteString, ByteString)

    RefSerialize Data.RefSerialize.Serialize

    No documentation available.

  5. readAll :: (Typeable a, Serialize a) => RefQueue a -> IO [a]

    TCache Data.Persistent.Collection

    Return the list of all elements in the queue and empty it

  6. readAllSTM :: (Typeable a, Serialize a) => RefQueue a -> STM [a]

    TCache Data.Persistent.Collection

    A version in the STM monad

  7. readDBRef :: (IResource a, Typeable a) => DBRef a -> STM (Maybe a)

    TCache Data.TCache

    Return the reference value. If it is not in the cache, it is fetched from the database.

  8. readDBRefs :: (IResource a, Typeable a) => [DBRef a] -> STM [Maybe a]

    TCache Data.TCache

    Read multiple DBRefs in a single request using the new readResourcesByKey

  9. readResource :: IResource a => a -> IO (Maybe a)

    TCache Data.TCache

    No documentation available.

  10. readResourceByKey :: IResource a => String -> IO (Maybe a)

    TCache Data.TCache

    Implements the database access and marshalling of the object. while the database access must be strict, the marshaling must be lazy if, as is often the case, some parts of the object are not really accesed. If the object contains DBRefs, this avoids unnecesary cache lookups. This method is called within atomically blocks. Since STM transactions retry, readResourceByKey may be called twice in strange situations. So it must be idempotent, not only in the result but also in the effect in the database . However, because it is executed by safeIOToSTM it is guaranteed that the execution is not interrupted.

Page 292 of many | Previous | Next