derive-2.5.15: A program and library to derive instances for data types

Safe HaskellNone



A pseudo derivation. For each field in the data type, deriving LazySet generates a function like a record updator, but lazy where possible. This is very useful in certain situations to improve laziness properties. A setter is only lazy if that field is present in one constructor.