Open masaeedu opened 3 years ago
I also found this useful. To be consistent with Lens, this should maybe be called zoomDeclare
.
(To be honest, at the end of the day I ended up just switching to MonadState
since it's more flexible and efficient, and has a bunch more functionality available.)
As an example, this lets us lift:
into: