{"action":"created","comment":{"url":"https://api.github.com/repos/thoughtbot/Curry/pulls/comments/36684553","id":36684553,"diff_hunk":"@@ -1,3 +1,7 @@\n+public func curry<A, B>(function: (A) -> B) -> A -> B {\n+    return { a in function(a) }","path":"Source/Curry.swift","position":2,"original_position":2,"commit_id":"ae07cabc909eddf10791dbf5593f45e6c8e9ea0d","original_commit_id":"ae07cabc909eddf10791dbf5593f45e6c8e9ea0d","user":{"login":"gfontenot","id":124499,"avatar_url":"https://avatars.githubusercontent.com/u/124499?v=3","gravatar_id":"","url":"https://api.github.com/users/gfontenot","html_url":"https://github.com/gfontenot","followers_url":"https://api.github.com/users/gfontenot/followers","following_url":"https://api.github.com/users/gfontenot/following{/other_user}","gists_url":"https://api.github.com/users/gfontenot/gists{/gist_id}","starred_url":"https://api.github.com/users/gfontenot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gfontenot/subscriptions","organizations_url":"https://api.github.com/users/gfontenot/orgs","repos_url":"https://api.github.com/users/gfontenot/repos","events_url":"https://api.github.com/users/gfontenot/events{/privacy}","received_events_url":"https://api.github.com/users/gfontenot/received_events","type":"User","site_admin":false},"body":"I _think_ this could be `return function`, instead of wrapping it in a closure","created_at":"2015-08-10T21:05:45Z","updated_at":"2015-08-10T21:05:45Z","html_url":"https://github.com/thoughtbot/Curry/pull/5#discussion_r36684553","pull_request_url":"https://api.github.com/repos/thoughtbot/Curry/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/thoughtbot/Curry/pulls/comments/36684553"},"html":{"href":"https://github.com/thoughtbot/Curry/pull/5#discussion_r36684553"},"pull_request":{"href":"https://api.github.com/repos/thoughtbot/Curry/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/thoughtbot/Curry/pulls/5","id":42062868,"html_url":"https://github.com/thoughtbot/Curry/pull/5","diff_url":"https://github.com/thoughtbot/Curry/pull/5.diff","patch_url":"https://github.com/thoughtbot/Curry/pull/5.patch","issue_url":"https://api.github.com/repos/thoughtbot/Curry/issues/5","number":5,"state":"open","locked":false,"title":"Add support for a single argument.","user":{"login":"paulyoung","id":84700,"avatar_url":"https://avatars.githubusercontent.com/u/84700?v=3","gravatar_id":"","url":"https://api.github.com/users/paulyoung","html_url":"https://github.com/paulyoung","followers_url":"https://api.github.com/users/paulyoung/followers","following_url":"https://api.github.com/users/paulyoung/following{/other_user}","gists_url":"https://api.github.com/users/paulyoung/gists{/gist_id}","starred_url":"https://api.github.com/users/paulyoung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulyoung/subscriptions","organizations_url":"https://api.github.com/users/paulyoung/orgs","repos_url":"https://api.github.com/users/paulyoung/repos","events_url":"https://api.github.com/users/paulyoung/events{/privacy}","received_events_url":"https://api.github.com/users/paulyoung/received_events","type":"User","site_admin":false},"body":"I had a moment of slight confusion when I tried to curry an initializer and hadn't realized that it only took one argument.\r\n\r\nI realize that this is somewhat redundant, so understand if this gets closed without merging.","created_at":"2015-08-10T20:33:59Z","updated_at":"2015-08-10T21:05:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a4aa64c469ecaa9dad475e41cc7f12cbb017aa91","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/thoughtbot/Curry/pulls/5/commits","review_comments_url":"https://api.github.com/repos/thoughtbot/Curry/pulls/5/comments","review_comment_url":"https://api.github.com/repos/thoughtbot/Curry/pulls/comments{/number}","comments_url":"https://api.github.com/repos/thoughtbot/Curry/issues/5/comments","statuses_url":"https://api.github.com/repos/thoughtbot/Curry/statuses/ae07cabc909eddf10791dbf5593f45e6c8e9ea0d","head":{"label":"paulyoung:single-argument","ref":"single-argument","sha":"ae07cabc909eddf10791dbf5593f45e6c8e9ea0d","user":{"login":"paulyoung","id":84700,"avatar_url":"https://avatars.githubusercontent.com/u/84700?v=3","gravatar_id":"","url":"https://api.github.com/users/paulyoung","html_url":"https://github.com/paulyoung","followers_url":"https://api.github.com/users/paulyoung/followers","following_url":"https://api.github.com/users/paulyoung/following{/other_user}","gists_url":"https://api.github.com/users/paulyoung/gists{/gist_id}","starred_url":"https://api.github.com/users/paulyoung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulyoung/subscriptions","organizations_url":"https://api.github.com/users/paulyoung/orgs","repos_url":"https://api.github.com/users/paulyoung/repos","events_url":"https://api.github.com/users/paulyoung/events{/privacy}","received_events_url":"https://api.github.com/users/paulyoung/received_events","type":"User","site_admin":false},"repo":{"id":40504505,"name":"Curry","full_name":"paulyoung/Curry","owner":{"login":"paulyoung","id":84700,"avatar_url":"https://avatars.githubusercontent.com/u/84700?v=3","gravatar_id":"","url":"https://api.github.com/users/paulyoung","html_url":"https://github.com/paulyoung","followers_url":"https://api.github.com/users/paulyoung/followers","following_url":"https://api.github.com/users/paulyoung/following{/other_user}","gists_url":"https://api.github.com/users/paulyoung/gists{/gist_id}","starred_url":"https://api.github.com/users/paulyoung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulyoung/subscriptions","organizations_url":"https://api.github.com/users/paulyoung/orgs","repos_url":"https://api.github.com/users/paulyoung/repos","events_url":"https://api.github.com/users/paulyoung/events{/privacy}","received_events_url":"https://api.github.com/users/paulyoung/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/paulyoung/Curry","description":"Swift implementations for function currying","fork":true,"url":"https://api.github.com/repos/paulyoung/Curry","forks_url":"https://api.github.com/repos/paulyoung/Curry/forks","keys_url":"https://api.github.com/repos/paulyoung/Curry/keys{/key_id}","collaborators_url":"https://api.github.com/repos/paulyoung/Curry/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/paulyoung/Curry/teams","hooks_url":"https://api.github.com/repos/paulyoung/Curry/hooks","issue_events_url":"https://api.github.com/repos/paulyoung/Curry/issues/events{/number}","events_url":"https://api.github.com/repos/paulyoung/Curry/events","assignees_url":"https://api.github.com/repos/paulyoung/Curry/assignees{/user}","branches_url":"https://api.github.com/repos/paulyoung/Curry/branches{/branch}","tags_url":"https://api.github.com/repos/paulyoung/Curry/tags","blobs_url":"https://api.github.com/repos/paulyoung/Curry/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/paulyoung/Curry/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/paulyoung/Curry/git/refs{/sha}","trees_url":"https://api.github.com/repos/paulyoung/Curry/git/trees{/sha}","statuses_url":"https://api.github.com/repos/paulyoung/Curry/statuses/{sha}","languages_url":"https://api.github.com/repos/paulyoung/Curry/languages","stargazers_url":"https://api.github.com/repos/paulyoung/Curry/stargazers","contributors_url":"https://api.github.com/repos/paulyoung/Curry/contributors","subscribers_url":"https://api.github.com/repos/paulyoung/Curry/subscribers","subscription_url":"https://api.github.com/repos/paulyoung/Curry/subscription","commits_url":"https://api.github.com/repos/paulyoung/Curry/commits{/sha}","git_commits_url":"https://api.github.com/repos/paulyoung/Curry/git/commits{/sha}","comments_url":"https://api.github.com/repos/paulyoung/Curry/comments{/number}","issue_comment_url":"https://api.github.com/repos/paulyoung/Curry/issues/comments{/number}","contents_url":"https://api.github.com/repos/paulyoung/Curry/contents/{+path}","compare_url":"https://api.github.com/repos/paulyoung/Curry/compare/{base}...{head}","merges_url":"https://api.github.com/repos/paulyoung/Curry/merges","archive_url":"https://api.github.com/repos/paulyoung/Curry/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/paulyoung/Curry/downloads","issues_url":"https://api.github.com/repos/paulyoung/Curry/issues{/number}","pulls_url":"https://api.github.com/repos/paulyoung/Curry/pulls{/number}","milestones_url":"https://api.github.com/repos/paulyoung/Curry/milestones{/number}","notifications_url":"https://api.github.com/repos/paulyoung/Curry/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/paulyoung/Curry/labels{/name}","releases_url":"https://api.github.com/repos/paulyoung/Curry/releases{/id}","created_at":"2015-08-10T20:27:50Z","updated_at":"2015-08-10T20:27:51Z","pushed_at":"2015-08-10T20:30:44Z","git_url":"git://github.com/paulyoung/Curry.git","ssh_url":"git@github.com:paulyoung/Curry.git","clone_url":"https://github.com/paulyoung/Curry.git","svn_url":"https://github.com/paulyoung/Curry","homepage":null,"size":89,"stargazers_count":0,"watchers_count":0,"language":"Swift","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":"thoughtbot:master","ref":"master","sha":"a4c1c730f5189e126968ea6f7326de989efa264f","user":{"login":"thoughtbot","id":6183,"avatar_url":"https://avatars.githubusercontent.com/u/6183?v=3","gravatar_id":"","url":"https://api.github.com/users/thoughtbot","html_url":"https://github.com/thoughtbot","followers_url":"https://api.github.com/users/thoughtbot/followers","following_url":"https://api.github.com/users/thoughtbot/following{/other_user}","gists_url":"https://api.github.com/users/thoughtbot/gists{/gist_id}","starred_url":"https://api.github.com/users/thoughtbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thoughtbot/subscriptions","organizations_url":"https://api.github.com/users/thoughtbot/orgs","repos_url":"https://api.github.com/users/thoughtbot/repos","events_url":"https://api.github.com/users/thoughtbot/events{/privacy}","received_events_url":"https://api.github.com/users/thoughtbot/received_events","type":"Organization","site_admin":false},"repo":{"id":38838911,"name":"Curry","full_name":"thoughtbot/Curry","owner":{"login":"thoughtbot","id":6183,"avatar_url":"https://avatars.githubusercontent.com/u/6183?v=3","gravatar_id":"","url":"https://api.github.com/users/thoughtbot","html_url":"https://github.com/thoughtbot","followers_url":"https://api.github.com/users/thoughtbot/followers","following_url":"https://api.github.com/users/thoughtbot/following{/other_user}","gists_url":"https://api.github.com/users/thoughtbot/gists{/gist_id}","starred_url":"https://api.github.com/users/thoughtbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thoughtbot/subscriptions","organizations_url":"https://api.github.com/users/thoughtbot/orgs","repos_url":"https://api.github.com/users/thoughtbot/repos","events_url":"https://api.github.com/users/thoughtbot/events{/privacy}","received_events_url":"https://api.github.com/users/thoughtbot/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/thoughtbot/Curry","description":"Swift implementations for function currying","fork":false,"url":"https://api.github.com/repos/thoughtbot/Curry","forks_url":"https://api.github.com/repos/thoughtbot/Curry/forks","keys_url":"https://api.github.com/repos/thoughtbot/Curry/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thoughtbot/Curry/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thoughtbot/Curry/teams","hooks_url":"https://api.github.com/repos/thoughtbot/Curry/hooks","issue_events_url":"https://api.github.com/repos/thoughtbot/Curry/issues/events{/number}","events_url":"https://api.github.com/repos/thoughtbot/Curry/events","assignees_url":"https://api.github.com/repos/thoughtbot/Curry/assignees{/user}","branches_url":"https://api.github.com/repos/thoughtbot/Curry/branches{/branch}","tags_url":"https://api.github.com/repos/thoughtbot/Curry/tags","blobs_url":"https://api.github.com/repos/thoughtbot/Curry/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thoughtbot/Curry/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thoughtbot/Curry/git/refs{/sha}","trees_url":"https://api.github.com/repos/thoughtbot/Curry/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thoughtbot/Curry/statuses/{sha}","languages_url":"https://api.github.com/repos/thoughtbot/Curry/languages","stargazers_url":"https://api.github.com/repos/thoughtbot/Curry/stargazers","contributors_url":"https://api.github.com/repos/thoughtbot/Curry/contributors","subscribers_url":"https://api.github.com/repos/thoughtbot/Curry/subscribers","subscription_url":"https://api.github.com/repos/thoughtbot/Curry/subscription","commits_url":"https://api.github.com/repos/thoughtbot/Curry/commits{/sha}","git_commits_url":"https://api.github.com/repos/thoughtbot/Curry/git/commits{/sha}","comments_url":"https://api.github.com/repos/thoughtbot/Curry/comments{/number}","issue_comment_url":"https://api.github.com/repos/thoughtbot/Curry/issues/comments{/number}","contents_url":"https://api.github.com/repos/thoughtbot/Curry/contents/{+path}","compare_url":"https://api.github.com/repos/thoughtbot/Curry/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thoughtbot/Curry/merges","archive_url":"https://api.github.com/repos/thoughtbot/Curry/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thoughtbot/Curry/downloads","issues_url":"https://api.github.com/repos/thoughtbot/Curry/issues{/number}","pulls_url":"https://api.github.com/repos/thoughtbot/Curry/pulls{/number}","milestones_url":"https://api.github.com/repos/thoughtbot/Curry/milestones{/number}","notifications_url":"https://api.github.com/repos/thoughtbot/Curry/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thoughtbot/Curry/labels{/name}","releases_url":"https://api.github.com/repos/thoughtbot/Curry/releases{/id}","created_at":"2015-07-09T18:47:19Z","updated_at":"2015-08-09T05:33:09Z","pushed_at":"2015-08-10T20:33:59Z","git_url":"git://github.com/thoughtbot/Curry.git","ssh_url":"git@github.com:thoughtbot/Curry.git","clone_url":"https://github.com/thoughtbot/Curry.git","svn_url":"https://github.com/thoughtbot/Curry","homepage":null,"size":178,"stargazers_count":12,"watchers_count":12,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/thoughtbot/Curry/pulls/5"},"html":{"href":"https://github.com/thoughtbot/Curry/pull/5"},"issue":{"href":"https://api.github.com/repos/thoughtbot/Curry/issues/5"},"comments":{"href":"https://api.github.com/repos/thoughtbot/Curry/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/thoughtbot/Curry/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/thoughtbot/Curry/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/thoughtbot/Curry/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/thoughtbot/Curry/statuses/ae07cabc909eddf10791dbf5593f45e6c8e9ea0d"}}}}