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

List range lens #103

Closed
jackfirth opened this issue Jul 11, 2015 · 1 comment · Fixed by #109
Closed

List range lens #103

jackfirth opened this issue Jul 11, 2015 · 1 comment · Fixed by #109
Labels

Comments

@jackfirth
Copy link
Owner

> (lens-view (list-range-lens 1 3) '(0 1 2 3 4 5))
'(1 2 3)
> (lens-set (list-range-lens 1 3) '(0 1 2 3 4 5) '(a b c)
'(0 a b c 4 5)
@jackfirth
Copy link
Owner Author

Should probably be named sub-list-lens or sublist-lens

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

Successfully merging a pull request may close this issue.

1 participant