| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Data.Serialize.Describe.Combinators
Description
Various type-level combinators to ease generic derivation of Describe
Documentation
An Optional represents a field which is optionally-serializable. The field will be parsed via a lookAhead and, if the value matches the Predicate p, then the field exists. If not, it is assumed as though the field was never serialized in the first place and the value will be set to Nothing; parsing will then continue on as usual.
Constructors
| Optional | |
Fields
| |