This module implements serialization to/from a subset of R5RS s-expressions. Several limitations currently exist:
- Vectors are not recognized or generated.
- (Quasi)quote notation is not supported.
- Constructor names are parsed case-sensitively.
- sexpSerialize :: (Data a, MonadWStream m Char) => a -> m ()
- sexpDeserialize :: (Data a, MonadRStream m Char) => m a
Documentation
sexpSerialize :: (Data a, MonadWStream m Char) => a -> m ()Source
Serialize an arbitrary value to an s-expression.
sexpDeserialize :: (Data a, MonadRStream m Char) => m aSource
Deserialize an arbitrary value from an s-expression.