Represents a serialized value of a particular type. Attempts can be made to deserialize it at certain types
Moduleghc-boot-9.10.3Haskell2010
GHC.Serialized
- 1 type
- 4 values
- Packageghc-boot-9.10.3
- Exports5
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceSerialized.hs
Main Serialized data type
1 declarationGoing into and out of Serialized
2 declarationsPut 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.
Handy serialization functions
2 declarationsUse 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