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

Safe HaskellNone
LanguageHaskell98

Data.Derive.LazySet

Description

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.

Documentation