brendanhay / amazonka

A comprehensive Amazon Web Services SDK for Haskell.
https://amazonka.brendanhay.nz
Other
599 stars 227 forks source link

Remove chonky Lens and replace with microlens for smaller footprint. #996

Open mankyKitty opened 2 months ago

mankyKitty commented 2 months ago

This PR removes the dependency on the mega lens package and creates optics and friends using the microlens set of packages. The use of Prisms does necessitate the inclusion of profunctor but that is still a smaller price than all of lens.

The work is somewhat incomplete as there are a few incompatibilities to iron out.