{"action":"created","comment":{"url":"https://api.github.com/repos/ramda/ramda/pulls/comments/32390821","id":32390821,"diff_hunk":"@@ -23,7 +25,6 @@ var prop = require('./prop');\n  *     phraseLens.set('Ooh Betty', obj1); //=> { phrase: 'Ooh Betty'}\n  *     phraseLens.map(R.toUpper, obj2); //=> { phrase: \"WHAT'S ALL THIS, THEN?\"}\n  */\n-module.exports = function(k) {\n+module.exports = _curry1(function(k) {","path":"src/lensProp.js","position":null,"original_position":15,"commit_id":"77d7863aa41be7207a37ba26eb2a7a36514a1717","original_commit_id":"e50c997909ddef917de0f57ea557e7849369ae2f","user":{"login":"scott-christopher","id":8951601,"avatar_url":"https://avatars.githubusercontent.com/u/8951601?v=3","gravatar_id":"","url":"https://api.github.com/users/scott-christopher","html_url":"https://github.com/scott-christopher","followers_url":"https://api.github.com/users/scott-christopher/followers","following_url":"https://api.github.com/users/scott-christopher/following{/other_user}","gists_url":"https://api.github.com/users/scott-christopher/gists{/gist_id}","starred_url":"https://api.github.com/users/scott-christopher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scott-christopher/subscriptions","organizations_url":"https://api.github.com/users/scott-christopher/orgs","repos_url":"https://api.github.com/users/scott-christopher/repos","events_url":"https://api.github.com/users/scott-christopher/events{/privacy}","received_events_url":"https://api.github.com/users/scott-christopher/received_events","type":"User","site_admin":false},"body":"Sure thing. Updated.","created_at":"2015-06-15T04:05:06Z","updated_at":"2015-06-15T04:05:06Z","html_url":"https://github.com/ramda/ramda/pull/1187#discussion_r32390821","pull_request_url":"https://api.github.com/repos/ramda/ramda/pulls/1187","_links":{"self":{"href":"https://api.github.com/repos/ramda/ramda/pulls/comments/32390821"},"html":{"href":"https://github.com/ramda/ramda/pull/1187#discussion_r32390821"},"pull_request":{"href":"https://api.github.com/repos/ramda/ramda/pulls/1187"}}},"pull_request":{"url":"https://api.github.com/repos/ramda/ramda/pulls/1187","id":37650695,"html_url":"https://github.com/ramda/ramda/pull/1187","diff_url":"https://github.com/ramda/ramda/pull/1187.diff","patch_url":"https://github.com/ramda/ramda/pull/1187.patch","issue_url":"https://api.github.com/repos/ramda/ramda/issues/1187","number":1187,"state":"open","locked":false,"title":"Implements `lensIndex` setter using `update`","user":{"login":"scott-christopher","id":8951601,"avatar_url":"https://avatars.githubusercontent.com/u/8951601?v=3","gravatar_id":"","url":"https://api.github.com/users/scott-christopher","html_url":"https://github.com/scott-christopher","followers_url":"https://api.github.com/users/scott-christopher/followers","following_url":"https://api.github.com/users/scott-christopher/following{/other_user}","gists_url":"https://api.github.com/users/scott-christopher/gists{/gist_id}","starred_url":"https://api.github.com/users/scott-christopher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scott-christopher/subscriptions","organizations_url":"https://api.github.com/users/scott-christopher/orgs","repos_url":"https://api.github.com/users/scott-christopher/repos","events_url":"https://api.github.com/users/scott-christopher/events{/privacy}","received_events_url":"https://api.github.com/users/scott-christopher/received_events","type":"User","site_admin":false},"body":"As per @jethrolarson's suggestion here: https://github.com/ramda/ramda/pull/971#issuecomment-111279241, `lensIndex` now uses `update` for its setter function, providing a nice symmetry with `lensProp`:\r\n\r\n```js\r\nfunction lensProp(k) {\r\n  return lens(prop(k), assoc(k));\r\n}\r\n```\r\n```js\r\nfunction lensIndex(n) {\r\n  return lens(nth(n), update(n));\r\n}\r\n```","created_at":"2015-06-14T23:29:56Z","updated_at":"2015-06-15T04:05:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bf88862c1dc06dac3a9e47079ca654eda0ce6fb1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ramda/ramda/pulls/1187/commits","review_comments_url":"https://api.github.com/repos/ramda/ramda/pulls/1187/comments","review_comment_url":"https://api.github.com/repos/ramda/ramda/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ramda/ramda/issues/1187/comments","statuses_url":"https://api.github.com/repos/ramda/ramda/statuses/77d7863aa41be7207a37ba26eb2a7a36514a1717","head":{"label":"scott-christopher:lens-index-impl","ref":"lens-index-impl","sha":"77d7863aa41be7207a37ba26eb2a7a36514a1717","user":{"login":"scott-christopher","id":8951601,"avatar_url":"https://avatars.githubusercontent.com/u/8951601?v=3","gravatar_id":"","url":"https://api.github.com/users/scott-christopher","html_url":"https://github.com/scott-christopher","followers_url":"https://api.github.com/users/scott-christopher/followers","following_url":"https://api.github.com/users/scott-christopher/following{/other_user}","gists_url":"https://api.github.com/users/scott-christopher/gists{/gist_id}","starred_url":"https://api.github.com/users/scott-christopher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scott-christopher/subscriptions","organizations_url":"https://api.github.com/users/scott-christopher/orgs","repos_url":"https://api.github.com/users/scott-christopher/repos","events_url":"https://api.github.com/users/scott-christopher/events{/privacy}","received_events_url":"https://api.github.com/users/scott-christopher/received_events","type":"User","site_admin":false},"repo":{"id":32675617,"name":"ramda","full_name":"scott-christopher/ramda","owner":{"login":"scott-christopher","id":8951601,"avatar_url":"https://avatars.githubusercontent.com/u/8951601?v=3","gravatar_id":"","url":"https://api.github.com/users/scott-christopher","html_url":"https://github.com/scott-christopher","followers_url":"https://api.github.com/users/scott-christopher/followers","following_url":"https://api.github.com/users/scott-christopher/following{/other_user}","gists_url":"https://api.github.com/users/scott-christopher/gists{/gist_id}","starred_url":"https://api.github.com/users/scott-christopher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scott-christopher/subscriptions","organizations_url":"https://api.github.com/users/scott-christopher/orgs","repos_url":"https://api.github.com/users/scott-christopher/repos","events_url":"https://api.github.com/users/scott-christopher/events{/privacy}","received_events_url":"https://api.github.com/users/scott-christopher/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/scott-christopher/ramda","description":":ram: Practical functional Javascript","fork":true,"url":"https://api.github.com/repos/scott-christopher/ramda","forks_url":"https://api.github.com/repos/scott-christopher/ramda/forks","keys_url":"https://api.github.com/repos/scott-christopher/ramda/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scott-christopher/ramda/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scott-christopher/ramda/teams","hooks_url":"https://api.github.com/repos/scott-christopher/ramda/hooks","issue_events_url":"https://api.github.com/repos/scott-christopher/ramda/issues/events{/number}","events_url":"https://api.github.com/repos/scott-christopher/ramda/events","assignees_url":"https://api.github.com/repos/scott-christopher/ramda/assignees{/user}","branches_url":"https://api.github.com/repos/scott-christopher/ramda/branches{/branch}","tags_url":"https://api.github.com/repos/scott-christopher/ramda/tags","blobs_url":"https://api.github.com/repos/scott-christopher/ramda/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scott-christopher/ramda/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scott-christopher/ramda/git/refs{/sha}","trees_url":"https://api.github.com/repos/scott-christopher/ramda/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scott-christopher/ramda/statuses/{sha}","languages_url":"https://api.github.com/repos/scott-christopher/ramda/languages","stargazers_url":"https://api.github.com/repos/scott-christopher/ramda/stargazers","contributors_url":"https://api.github.com/repos/scott-christopher/ramda/contributors","subscribers_url":"https://api.github.com/repos/scott-christopher/ramda/subscribers","subscription_url":"https://api.github.com/repos/scott-christopher/ramda/subscription","commits_url":"https://api.github.com/repos/scott-christopher/ramda/commits{/sha}","git_commits_url":"https://api.github.com/repos/scott-christopher/ramda/git/commits{/sha}","comments_url":"https://api.github.com/repos/scott-christopher/ramda/comments{/number}","issue_comment_url":"https://api.github.com/repos/scott-christopher/ramda/issues/comments{/number}","contents_url":"https://api.github.com/repos/scott-christopher/ramda/contents/{+path}","compare_url":"https://api.github.com/repos/scott-christopher/ramda/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scott-christopher/ramda/merges","archive_url":"https://api.github.com/repos/scott-christopher/ramda/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scott-christopher/ramda/downloads","issues_url":"https://api.github.com/repos/scott-christopher/ramda/issues{/number}","pulls_url":"https://api.github.com/repos/scott-christopher/ramda/pulls{/number}","milestones_url":"https://api.github.com/repos/scott-christopher/ramda/milestones{/number}","notifications_url":"https://api.github.com/repos/scott-christopher/ramda/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scott-christopher/ramda/labels{/name}","releases_url":"https://api.github.com/repos/scott-christopher/ramda/releases{/id}","created_at":"2015-03-22T12:58:30Z","updated_at":"2015-03-25T02:47:09Z","pushed_at":"2015-06-15T04:04:37Z","git_url":"git://github.com/scott-christopher/ramda.git","ssh_url":"git@github.com:scott-christopher/ramda.git","clone_url":"https://github.com/scott-christopher/ramda.git","svn_url":"https://github.com/scott-christopher/ramda","homepage":"http://ramdajs.com","size":4715,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ramda:master","ref":"master","sha":"ecda606dcdcce0c818643d189b2aa055f49d8b55","user":{"login":"ramda","id":5298359,"avatar_url":"https://avatars.githubusercontent.com/u/5298359?v=3","gravatar_id":"","url":"https://api.github.com/users/ramda","html_url":"https://github.com/ramda","followers_url":"https://api.github.com/users/ramda/followers","following_url":"https://api.github.com/users/ramda/following{/other_user}","gists_url":"https://api.github.com/users/ramda/gists{/gist_id}","starred_url":"https://api.github.com/users/ramda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ramda/subscriptions","organizations_url":"https://api.github.com/users/ramda/orgs","repos_url":"https://api.github.com/users/ramda/repos","events_url":"https://api.github.com/users/ramda/events{/privacy}","received_events_url":"https://api.github.com/users/ramda/received_events","type":"Organization","site_admin":false},"repo":{"id":10851820,"name":"ramda","full_name":"ramda/ramda","owner":{"login":"ramda","id":5298359,"avatar_url":"https://avatars.githubusercontent.com/u/5298359?v=3","gravatar_id":"","url":"https://api.github.com/users/ramda","html_url":"https://github.com/ramda","followers_url":"https://api.github.com/users/ramda/followers","following_url":"https://api.github.com/users/ramda/following{/other_user}","gists_url":"https://api.github.com/users/ramda/gists{/gist_id}","starred_url":"https://api.github.com/users/ramda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ramda/subscriptions","organizations_url":"https://api.github.com/users/ramda/orgs","repos_url":"https://api.github.com/users/ramda/repos","events_url":"https://api.github.com/users/ramda/events{/privacy}","received_events_url":"https://api.github.com/users/ramda/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ramda/ramda","description":":ram: Practical functional Javascript","fork":false,"url":"https://api.github.com/repos/ramda/ramda","forks_url":"https://api.github.com/repos/ramda/ramda/forks","keys_url":"https://api.github.com/repos/ramda/ramda/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ramda/ramda/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ramda/ramda/teams","hooks_url":"https://api.github.com/repos/ramda/ramda/hooks","issue_events_url":"https://api.github.com/repos/ramda/ramda/issues/events{/number}","events_url":"https://api.github.com/repos/ramda/ramda/events","assignees_url":"https://api.github.com/repos/ramda/ramda/assignees{/user}","branches_url":"https://api.github.com/repos/ramda/ramda/branches{/branch}","tags_url":"https://api.github.com/repos/ramda/ramda/tags","blobs_url":"https://api.github.com/repos/ramda/ramda/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ramda/ramda/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ramda/ramda/git/refs{/sha}","trees_url":"https://api.github.com/repos/ramda/ramda/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ramda/ramda/statuses/{sha}","languages_url":"https://api.github.com/repos/ramda/ramda/languages","stargazers_url":"https://api.github.com/repos/ramda/ramda/stargazers","contributors_url":"https://api.github.com/repos/ramda/ramda/contributors","subscribers_url":"https://api.github.com/repos/ramda/ramda/subscribers","subscription_url":"https://api.github.com/repos/ramda/ramda/subscription","commits_url":"https://api.github.com/repos/ramda/ramda/commits{/sha}","git_commits_url":"https://api.github.com/repos/ramda/ramda/git/commits{/sha}","comments_url":"https://api.github.com/repos/ramda/ramda/comments{/number}","issue_comment_url":"https://api.github.com/repos/ramda/ramda/issues/comments{/number}","contents_url":"https://api.github.com/repos/ramda/ramda/contents/{+path}","compare_url":"https://api.github.com/repos/ramda/ramda/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ramda/ramda/merges","archive_url":"https://api.github.com/repos/ramda/ramda/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ramda/ramda/downloads","issues_url":"https://api.github.com/repos/ramda/ramda/issues{/number}","pulls_url":"https://api.github.com/repos/ramda/ramda/pulls{/number}","milestones_url":"https://api.github.com/repos/ramda/ramda/milestones{/number}","notifications_url":"https://api.github.com/repos/ramda/ramda/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ramda/ramda/labels{/name}","releases_url":"https://api.github.com/repos/ramda/ramda/releases{/id}","created_at":"2013-06-21T20:32:35Z","updated_at":"2015-06-15T03:34:34Z","pushed_at":"2015-06-15T04:04:38Z","git_url":"git://github.com/ramda/ramda.git","ssh_url":"git@github.com:ramda/ramda.git","clone_url":"https://github.com/ramda/ramda.git","svn_url":"https://github.com/ramda/ramda","homepage":"http://ramdajs.com","size":10378,"stargazers_count":2218,"watchers_count":2218,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":169,"mirror_url":null,"open_issues_count":49,"forks":169,"open_issues":49,"watchers":2218,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ramda/ramda/pulls/1187"},"html":{"href":"https://github.com/ramda/ramda/pull/1187"},"issue":{"href":"https://api.github.com/repos/ramda/ramda/issues/1187"},"comments":{"href":"https://api.github.com/repos/ramda/ramda/issues/1187/comments"},"review_comments":{"href":"https://api.github.com/repos/ramda/ramda/pulls/1187/comments"},"review_comment":{"href":"https://api.github.com/repos/ramda/ramda/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ramda/ramda/pulls/1187/commits"},"statuses":{"href":"https://api.github.com/repos/ramda/ramda/statuses/77d7863aa41be7207a37ba26eb2a7a36514a1717"}}}}