Safe Haskell | None |
---|---|
Language | Haskell2010 |
A pseudo derivation. For each field in the data type, deriving
Lens
generates lens
FieldName = lens
fieldName
( x v -> v {
fieldName = x })
.
This works with the data-lens
package.
Safe Haskell | None |
---|---|
Language | Haskell2010 |
A pseudo derivation. For each field in the data type, deriving
Lens
generates lens
FieldName = lens
fieldName
( x v -> v {
fieldName = x })
.
This works with the data-lens
package.