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

add reverse-lens and last-lens #149

Merged
merged 1 commit into from
Aug 20, 2015
Merged

Conversation

AlexKnauth
Copy link
Collaborator

> (lens-view reverse-lens '(1 2 3))
'(3 2 1)
> (lens-transform reverse-lens '(1 2 3) (cons 4 _))
'(1 2 3 4)
> (lens-view last-lens '(1 2 3))
3
> (lens-set last-lens '(1 2 3) 'a)
'(1 2 a)

jackfirth added a commit that referenced this pull request Aug 20, 2015
add reverse-lens and last-lens
@jackfirth jackfirth merged commit 6c16456 into jackfirth:master Aug 20, 2015
@AlexKnauth AlexKnauth deleted the reverse-last branch August 20, 2015 14:56
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.

2 participants