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-10.0.0.20260917 · GHC.Serialized
:: a typeCtrl KGHC 10.0.0.20260917 · lts/ghc-10.0.x · aa25b89 · 2026-10-10
Moduleghc-boot-10.0.0.20260917GHC2024
Represents a serialized value of a particular type. Attempts can be made to deserialize it at certain types
NFData SerializedDefined in ghc-boot-10.0.0.20260917 · 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