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.
readpBinary :: Binary a => STR aRefSerialize Data.RefSerialize deserialize a variable serialized by showpBinary
-
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
-
RefSerialize Data.RefSerialize.Parser No documentation available.
readContext :: ByteString -> ByteString -> (ByteString, ByteString)RefSerialize Data.RefSerialize.Serialize No documentation available.
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
readAllSTM :: (Typeable a, Serialize a) => RefQueue a -> STM [a]TCache Data.Persistent.Collection A version in the STM monad
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.
readDBRefs :: (IResource a, Typeable a) => [DBRef a] -> STM [Maybe a]TCache Data.TCache Read multiple DBRefs in a single request using the new readResourcesByKey
readResource :: IResource a => a -> IO (Maybe a)TCache Data.TCache No documentation available.
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.