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

Some potentially useful additions #143

Closed
polytypic opened this issue Feb 11, 2018 · 1 comment
Closed

Some potentially useful additions #143

polytypic opened this issue Feb 11, 2018 · 1 comment

Comments

@polytypic
Copy link
Member

polytypic commented Feb 11, 2018

Looking through the code base of current project, the following combinators would be useful:

#146:

L.branches(...propNames) ~> traversal

#145:

L.condOf(lens, ...[predicate, optic]) ~> optic

#148 :

L.flat(...optics) = [L.flatten, optics.intersperse(L.flatten), L.flatten]

#147:

L.query(optic) = [L.satisfying(L.isDefined(optic)), optic]
@polytypic
Copy link
Member Author

All done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant