Hoogle Search
Within LTS Haskell 22.21 (ghc-9.6.5)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
TCache Data.TCache.DefaultPersistence Serialize is an alternative to the IResource class for defining persistence in TCache. The deserialization must be as lazy as possible. serialization/deserialization are not performance critical in TCache Read, Show, instances are implicit instances of Serializable
serialize = pack . show deserialize= read . unpack
Since write and read to disk of to/from the cache are not be very frequent The performance of serialization is not critical. -
TCache Data.TCache.Defs Serialize is an alternative to the IResource class for defining persistence in TCache. The deserialization must be as lazy as possible. serialization/deserialization are not performance critical in TCache Read, Show, instances are implicit instances of Serializable
serialize = pack . show deserialize= read . unpack
Since write and read to disk of to/from the cache are not be very frequent The performance of serialization is not critical. type
Serializable a = (Binary a, Typeable a)distributed-closure Control.Distributed.Closure Values that can be sent across the network.
type
Serializable a = (Binary a, Typeable a)distributed-closure Control.Distributed.Closure.Internal Values that can be sent across the network.
Serializable :: IsolationLevelpersistent-mtl Database.Persist.Sql.Shim No documentation available.
Serializable :: IsolationLevelsqueal-postgresql Squeal.PostgreSQL.Session.Transaction Dirty read is not possible. Nonrepeatable read is not possible. Phantom read is not possible. Serialization anomaly is not possible.
Serializable :: IsolationLevelsqueal-postgresql Squeal.PostgreSQL.Session.Transaction.Unsafe Dirty read is not possible. Nonrepeatable read is not possible. Phantom read is not possible. Serialization anomaly is not possible.
module Data.DynamicState.
Serializable This module is HashMap ConcreteTypeRep Dynamic with a twist. The Dynamic used can also be ByteString, to make repeated reserialization cheap. A user-provided State-like is used to store this.
-
ghc-lib-parser GHCi.Message No documentation available.
withTransactionSerializable :: Connection -> IO a -> IO apostgresql-simple Database.PostgreSQL.Simple.Transaction Execute an action inside of a Serializable transaction. If a serialization failure occurs, roll back the transaction and try again. Be warned that this may execute the IO action multiple times. A Serializable transaction creates the illusion that your program has exclusive access to the database. This means that, even in a concurrent setting, you can perform queries in sequence without having to worry about what might happen between one statement and the next. Think of it as STM, but without retry.