[Haskell-cafe] ANNOUNCE: lens-family 2.0.0 anniversary edition!
carter.schonwald at gmail.com
Fri Jul 19 23:12:45 UTC 2019
Hey Russell, is there any expository or tech reporty exposition of the
differences in formulation and the why's wherefores of the new major
release? (i'm genuinely curious since i'm quite wimpy in the lens foo)
On Fri, Jul 19, 2019 at 10:53 AM <roconnor at theorem.ca> wrote:
> In celebration of the 10th anniversary of Twan van Laarhoven's seminal
> blog post ``CPS based functional references'', I am releasing version
> 2.0 of lens-family and lens-family-core packages. This new release
> continues to explore the design of Van Laarhoven style optics with new
> support for adapters, grates, grids, and prisms.
> To bring support to these new optics necessarily means moving a little
> further away from syntactic compatibility with Kmett's lens library.
> In particular, lens-family's 'under' is unrelated to Kmett's lens
> library's 'under' combinator. Nonetheless the 'under' combinator plays
> a crucial role in lens-family as a dual to the 'over' combinator and
> this naming is hard to resist despite the conflict.
> This new version comes with some minor incompatibilities with the version
> 1.2 library that may require user updates.
> See <https://hackage.haskell.org/package/lens-family-2.0.0/changelog>.
> A grid is an optic that is both a grate and a traversal.
> Russell O'Connor <http://r6.ca/>
> Haskell-Cafe mailing list
> To (un)subscribe, modify options or view archives go to:
> Only members subscribed via the mailman list are allowed to post.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe