{"action":"created","issue":{"url":"https://api.github.com/repos/jackfirth/lenses/issues/3","labels_url":"https://api.github.com/repos/jackfirth/lenses/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/jackfirth/lenses/issues/3/comments","events_url":"https://api.github.com/repos/jackfirth/lenses/issues/3/events","html_url":"https://github.com/jackfirth/lenses/issues/3","id":70779710,"number":3,"title":"Would it make sense to add a lens structure with a prop:procedure that allows it to be used as the getter?","user":{"login":"AlexKnauth","id":6600123,"avatar_url":"https://avatars.githubusercontent.com/u/6600123?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexKnauth","html_url":"https://github.com/AlexKnauth","followers_url":"https://api.github.com/users/AlexKnauth/followers","following_url":"https://api.github.com/users/AlexKnauth/following{/other_user}","gists_url":"https://api.github.com/users/AlexKnauth/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexKnauth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexKnauth/subscriptions","organizations_url":"https://api.github.com/users/AlexKnauth/orgs","repos_url":"https://api.github.com/users/AlexKnauth/repos","events_url":"https://api.github.com/users/AlexKnauth/events{/privacy}","received_events_url":"https://api.github.com/users/AlexKnauth/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-04-24T19:59:17Z","updated_at":"2015-05-11T23:08:31Z","closed_at":null,"body":"So for example:\r\n```racket\r\n(define fst (make-lens/struct first set-first))\r\n(fst '(1 2 3)) ; -> 1\r\n(lens-veiw fst '(1 2 3)) ; -> 1 ; both work\r\n(lens-set fst '(1 2 3) 5) ; -> '(5 2 3)\r\n```\r\nThis would mean that fst could be a replacement for first, but with it also being a struct with lens info so that it can be composed with other lenses and used with lens functions.\r\n\r\nDoes this look like something that either you or I could add to this?"},"comment":{"url":"https://api.github.com/repos/jackfirth/lenses/issues/comments/101071428","html_url":"https://github.com/jackfirth/lenses/issues/3#issuecomment-101071428","issue_url":"https://api.github.com/repos/jackfirth/lenses/issues/3","id":101071428,"user":{"login":"AlexKnauth","id":6600123,"avatar_url":"https://avatars.githubusercontent.com/u/6600123?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexKnauth","html_url":"https://github.com/AlexKnauth","followers_url":"https://api.github.com/users/AlexKnauth/followers","following_url":"https://api.github.com/users/AlexKnauth/following{/other_user}","gists_url":"https://api.github.com/users/AlexKnauth/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexKnauth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexKnauth/subscriptions","organizations_url":"https://api.github.com/users/AlexKnauth/orgs","repos_url":"https://api.github.com/users/AlexKnauth/repos","events_url":"https://api.github.com/users/AlexKnauth/events{/privacy}","received_events_url":"https://api.github.com/users/AlexKnauth/received_events","type":"User","site_admin":false},"created_at":"2015-05-11T23:08:31Z","updated_at":"2015-05-11T23:08:31Z","body":"See https://github.com/jackfirth/lenses/pull/4"}}