Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

mankyKitty
Copy link

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.

Sean Chalmers added 5 commits June 10, 2024 13:17
Replace lens package with microlens packages and begin replacing the
types. Re-exporting the matching types and updated some uses in Waiter
and Error.
The use of throwingM and catching has been replaced with more basic
throw/catch behaviour. Some formatting changes appear to have been
applied as well.
Replace the IndexedTraversal on S3 traversal for microlens compat and
the Int is not required for this traversal.
@mankyKitty mankyKitty marked this pull request as ready for review October 15, 2024 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant