Safe Haskell | None |
---|---|
Language | Haskell2010 |
Extends Representable
with support for modifying elements.
Documentation
class Representable f => Update f where Source #
Extends Representable
with support for modifying elements.
If
is available, this is already possible by roundabout
means, but this class lets instances provide a more direct method that
doesn't require per-field equality tests.Eq
(Rep
f)