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

Lenses shouldn't be applicable by default, at all #14

Closed
jackfirth-mj opened this issue Jul 5, 2015 · 0 comments
Closed

Lenses shouldn't be applicable by default, at all #14

jackfirth-mj opened this issue Jul 5, 2015 · 0 comments
Assignees

Comments

@jackfirth-mj
Copy link
Contributor

Using lenses as raw functions is most of the time an error - it's far safer and more extensible (from the perspective of the lens package) to require all lens operations happen with lens-specific functions. Therefore, lenses should not be arbitrary two-value returning functions.

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

No branches or pull requests

2 participants