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 lens-join/vector #129

Merged
merged 1 commit into from
Jul 15, 2015
Merged

Conversation

AlexKnauth
Copy link
Collaborator

closes #128

(define (inverse-function-lens f f-inv)
(make-lens
(λ (tgt) (f tgt))
(λ (tgt v) (f-inv v))))
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting side note: This is precisely what an isomorphic lens is (#79).

jackfirth added a commit that referenced this pull request Jul 15, 2015
@jackfirth jackfirth merged commit b7cdb6c into jackfirth:master Jul 15, 2015
@AlexKnauth AlexKnauth deleted the lens-join-vector branch July 15, 2015 20:13
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.

Vector lens join
2 participants