You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Remove get as it was easy to create bugs with it
+ Add Lens.one! to both fetch a single element and assert that there is only one
+ Add Lens.context for fetching {context, part} pairs
~ Lens.satisfy is deprecated
~ Lens.filter does what satisfy used to do. Use Lens.all |> Lens.filter to emulate the old behavior
+ Lens.reject as a counterpart to Lens.filter
+ Lens.key?/Lens.keys? that ignore missing keys
+ deflensp for easily defining private lenses
+ Lens.back for focusing after the end of a list
+ Lens.front for focusing before the beginning of a list
+ Lens.behind for focusing after an element in a list
+ Lens.before for focusing before an element in a list
+ Lens.multiple for combining many lenses
+ Lens.indices for focusing on many indices at once