LensedVar
semagrams.util.LensedVar
A view of a variable. Uses a lens to forward gets and sets to an underlying
UndoableVar
.
Note: this is specialized to UndoableVar
right now because there isn't an
informative superclass of both UndoableVar
and Var
. At some point we
should fix this.
Maybe we should send a PR with UndoableVar
and LensedVar
to Laminar?
Attributes
- Todo:
implement more of the
Var
api.- Graph
- Supertypes
- class Objecttrait Matchableclass Any