Represents a serialized value of a particular type. Attempts can be made to deserialize it at certain types
Constructors
Instances1NFData
NFData SerializedDefined in ghc-boot-9.14.1 · GHC.Serialized
:: a typeCtrl KGHC 9.14.1 · lts/ghc-9.14.x · 3e2d568 · 2026-10-11
Moduleghc-boot-9.14.1Haskell2010
Represents a serialized value of a particular type. Attempts can be made to deserialize it at certain types
NFData SerializedDefined in ghc-boot-9.14.1 · GHC.SerializedPut a Typeable value that we are able to actually turn into bytes into a Serialized value ready for deserialization later
If the Serialized value contains something of the given type, then use the specified deserializer to return Just that.
Otherwise return Nothing.
Use a Data instance to implement a serialization scheme dual to that of deserializeWithData
Use a Data instance to implement a deserialization scheme dual to that of serializeWithData