{"action":"created","comment":{"url":"https://api.github.com/repos/hemanth/functional-programming-jargons/pulls/comments/39927862","id":39927862,"diff_hunk":"@@ -50,14 +50,14 @@ partial(2); //=> 42\n \n ## Currying\n \n-> The process of converting a function with multiple arity into the same function with an arity of one. Not to be confused with partial application, which can produce a function with an arity greater than one.\n+> The process of converting a function of multiple parameters into one, which, when called with fewer parameters, returns a new function that awaits the remaining parameters.  It's important to note that this returned function, if there are still more than one parameter unspecified, is also curried.  Strictly speaking, it is only currying when the returned function accepts just one parameter, but many implementations allow for multiple parameters at each level.  This is not to be confused with partial application, in which the returned function still requires all remaining parameters to be supplied.","path":"readme.md","position":5,"original_position":5,"commit_id":"48ebe6159400ddee2719505d1c76f1acdd85f1cf","original_commit_id":"48ebe6159400ddee2719505d1c76f1acdd85f1cf","user":{"login":"hemanth","id":18315,"avatar_url":"https://avatars.githubusercontent.com/u/18315?v=3","gravatar_id":"","url":"https://api.github.com/users/hemanth","html_url":"https://github.com/hemanth","followers_url":"https://api.github.com/users/hemanth/followers","following_url":"https://api.github.com/users/hemanth/following{/other_user}","gists_url":"https://api.github.com/users/hemanth/gists{/gist_id}","starred_url":"https://api.github.com/users/hemanth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hemanth/subscriptions","organizations_url":"https://api.github.com/users/hemanth/orgs","repos_url":"https://api.github.com/users/hemanth/repos","events_url":"https://api.github.com/users/hemanth/events{/privacy}","received_events_url":"https://api.github.com/users/hemanth/received_events","type":"User","site_admin":false},"body":"Nice definition @davidchambers :+1: \r\n\r\n@weblancaster You definition is good but as @CrossEye mentioned it's too word, we would need a TLDR of that.\r\n\r\n@CrossEye There is this thin line between `partial application` and `currying` that is tricky at times to get noticed.","created_at":"2015-09-20T08:34:25Z","updated_at":"2015-09-20T08:34:25Z","html_url":"https://github.com/hemanth/functional-programming-jargons/pull/7#discussion_r39927862","pull_request_url":"https://api.github.com/repos/hemanth/functional-programming-jargons/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/hemanth/functional-programming-jargons/pulls/comments/39927862"},"html":{"href":"https://github.com/hemanth/functional-programming-jargons/pull/7#discussion_r39927862"},"pull_request":{"href":"https://api.github.com/repos/hemanth/functional-programming-jargons/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/hemanth/functional-programming-jargons/pulls/7","id":45483539,"html_url":"https://github.com/hemanth/functional-programming-jargons/pull/7","diff_url":"https://github.com/hemanth/functional-programming-jargons/pull/7.diff","patch_url":"https://github.com/hemanth/functional-programming-jargons/pull/7.patch","issue_url":"https://api.github.com/repos/hemanth/functional-programming-jargons/issues/7","number":7,"state":"open","locked":false,"title":"Updating curry definition/example","user":{"login":"CrossEye","id":151263,"avatar_url":"https://avatars.githubusercontent.com/u/151263?v=3","gravatar_id":"","url":"https://api.github.com/users/CrossEye","html_url":"https://github.com/CrossEye","followers_url":"https://api.github.com/users/CrossEye/followers","following_url":"https://api.github.com/users/CrossEye/following{/other_user}","gists_url":"https://api.github.com/users/CrossEye/gists{/gist_id}","starred_url":"https://api.github.com/users/CrossEye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CrossEye/subscriptions","organizations_url":"https://api.github.com/users/CrossEye/orgs","repos_url":"https://api.github.com/users/CrossEye/repos","events_url":"https://api.github.com/users/CrossEye/events{/privacy}","received_events_url":"https://api.github.com/users/CrossEye/received_events","type":"User","site_admin":false},"body":"This is more complex a definition, but I think it's more accurate.","created_at":"2015-09-19T20:19:32Z","updated_at":"2015-09-20T08:34:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"54641cbcd4708ea3764eacd9d5240ffdb3af07cd","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hemanth/functional-programming-jargons/pulls/7/commits","review_comments_url":"https://api.github.com/repos/hemanth/functional-programming-jargons/pulls/7/comments","review_comment_url":"https://api.github.com/repos/hemanth/functional-programming-jargons/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hemanth/functional-programming-jargons/issues/7/comments","statuses_url":"https://api.github.com/repos/hemanth/functional-programming-jargons/statuses/48ebe6159400ddee2719505d1c76f1acdd85f1cf","head":{"label":"CrossEye:update-curry","ref":"update-curry","sha":"48ebe6159400ddee2719505d1c76f1acdd85f1cf","user":{"login":"CrossEye","id":151263,"avatar_url":"https://avatars.githubusercontent.com/u/151263?v=3","gravatar_id":"","url":"https://api.github.com/users/CrossEye","html_url":"https://github.com/CrossEye","followers_url":"https://api.github.com/users/CrossEye/followers","following_url":"https://api.github.com/users/CrossEye/following{/other_user}","gists_url":"https://api.github.com/users/CrossEye/gists{/gist_id}","starred_url":"https://api.github.com/users/CrossEye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CrossEye/subscriptions","organizations_url":"https://api.github.com/users/CrossEye/orgs","repos_url":"https://api.github.com/users/CrossEye/repos","events_url":"https://api.github.com/users/CrossEye/events{/privacy}","received_events_url":"https://api.github.com/users/CrossEye/received_events","type":"User","site_admin":false},"repo":{"id":42787432,"name":"functional-programming-jargons","full_name":"CrossEye/functional-programming-jargons","owner":{"login":"CrossEye","id":151263,"avatar_url":"https://avatars.githubusercontent.com/u/151263?v=3","gravatar_id":"","url":"https://api.github.com/users/CrossEye","html_url":"https://github.com/CrossEye","followers_url":"https://api.github.com/users/CrossEye/followers","following_url":"https://api.github.com/users/CrossEye/following{/other_user}","gists_url":"https://api.github.com/users/CrossEye/gists{/gist_id}","starred_url":"https://api.github.com/users/CrossEye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CrossEye/subscriptions","organizations_url":"https://api.github.com/users/CrossEye/orgs","repos_url":"https://api.github.com/users/CrossEye/repos","events_url":"https://api.github.com/users/CrossEye/events{/privacy}","received_events_url":"https://api.github.com/users/CrossEye/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/CrossEye/functional-programming-jargons","description":"Jargons from the functional programming world in simple terms! (WIP)","fork":true,"url":"https://api.github.com/repos/CrossEye/functional-programming-jargons","forks_url":"https://api.github.com/repos/CrossEye/functional-programming-jargons/forks","keys_url":"https://api.github.com/repos/CrossEye/functional-programming-jargons/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CrossEye/functional-programming-jargons/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CrossEye/functional-programming-jargons/teams","hooks_url":"https://api.github.com/repos/CrossEye/functional-programming-jargons/hooks","issue_events_url":"https://api.github.com/repos/CrossEye/functional-programming-jargons/issues/events{/number}","events_url":"https://api.github.com/repos/CrossEye/functional-programming-jargons/events","assignees_url":"https://api.github.com/repos/CrossEye/functional-programming-jargons/assignees{/user}","branches_url":"https://api.github.com/repos/CrossEye/functional-programming-jargons/branches{/branch}","tags_url":"https://api.github.com/repos/CrossEye/functional-programming-jargons/tags","blobs_url":"https://api.github.com/repos/CrossEye/functional-programming-jargons/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CrossEye/functional-programming-jargons/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CrossEye/functional-programming-jargons/git/refs{/sha}","trees_url":"https://api.github.com/repos/CrossEye/functional-programming-jargons/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CrossEye/functional-programming-jargons/statuses/{sha}","languages_url":"https://api.github.com/repos/CrossEye/functional-programming-jargons/languages","stargazers_url":"https://api.github.com/repos/CrossEye/functional-programming-jargons/stargazers","contributors_url":"https://api.github.com/repos/CrossEye/functional-programming-jargons/contributors","subscribers_url":"https://api.github.com/repos/CrossEye/functional-programming-jargons/subscribers","subscription_url":"https://api.github.com/repos/CrossEye/functional-programming-jargons/subscription","commits_url":"https://api.github.com/repos/CrossEye/functional-programming-jargons/commits{/sha}","git_commits_url":"https://api.github.com/repos/CrossEye/functional-programming-jargons/git/commits{/sha}","comments_url":"https://api.github.com/repos/CrossEye/functional-programming-jargons/comments{/number}","issue_comment_url":"https://api.github.com/repos/CrossEye/functional-programming-jargons/issues/comments{/number}","contents_url":"https://api.github.com/repos/CrossEye/functional-programming-jargons/contents/{+path}","compare_url":"https://api.github.com/repos/CrossEye/functional-programming-jargons/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CrossEye/functional-programming-jargons/merges","archive_url":"https://api.github.com/repos/CrossEye/functional-programming-jargons/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CrossEye/functional-programming-jargons/downloads","issues_url":"https://api.github.com/repos/CrossEye/functional-programming-jargons/issues{/number}","pulls_url":"https://api.github.com/repos/CrossEye/functional-programming-jargons/pulls{/number}","milestones_url":"https://api.github.com/repos/CrossEye/functional-programming-jargons/milestones{/number}","notifications_url":"https://api.github.com/repos/CrossEye/functional-programming-jargons/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CrossEye/functional-programming-jargons/labels{/name}","releases_url":"https://api.github.com/repos/CrossEye/functional-programming-jargons/releases{/id}","created_at":"2015-09-19T19:52:55Z","updated_at":"2015-09-19T19:52:03Z","pushed_at":"2015-09-19T20:23:48Z","git_url":"git://github.com/CrossEye/functional-programming-jargons.git","ssh_url":"git@github.com:CrossEye/functional-programming-jargons.git","clone_url":"https://github.com/CrossEye/functional-programming-jargons.git","svn_url":"https://github.com/CrossEye/functional-programming-jargons","homepage":"http://git.io/fp-jargons  ","size":188,"stargazers_count":0,"watchers_count":0,"language":null,"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":"hemanth:master","ref":"master","sha":"6dcd10516acb4d2c25175a409f229fb4a47e7673","user":{"login":"hemanth","id":18315,"avatar_url":"https://avatars.githubusercontent.com/u/18315?v=3","gravatar_id":"","url":"https://api.github.com/users/hemanth","html_url":"https://github.com/hemanth","followers_url":"https://api.github.com/users/hemanth/followers","following_url":"https://api.github.com/users/hemanth/following{/other_user}","gists_url":"https://api.github.com/users/hemanth/gists{/gist_id}","starred_url":"https://api.github.com/users/hemanth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hemanth/subscriptions","organizations_url":"https://api.github.com/users/hemanth/orgs","repos_url":"https://api.github.com/users/hemanth/repos","events_url":"https://api.github.com/users/hemanth/events{/privacy}","received_events_url":"https://api.github.com/users/hemanth/received_events","type":"User","site_admin":false},"repo":{"id":31168578,"name":"functional-programming-jargons","full_name":"hemanth/functional-programming-jargons","owner":{"login":"hemanth","id":18315,"avatar_url":"https://avatars.githubusercontent.com/u/18315?v=3","gravatar_id":"","url":"https://api.github.com/users/hemanth","html_url":"https://github.com/hemanth","followers_url":"https://api.github.com/users/hemanth/followers","following_url":"https://api.github.com/users/hemanth/following{/other_user}","gists_url":"https://api.github.com/users/hemanth/gists{/gist_id}","starred_url":"https://api.github.com/users/hemanth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hemanth/subscriptions","organizations_url":"https://api.github.com/users/hemanth/orgs","repos_url":"https://api.github.com/users/hemanth/repos","events_url":"https://api.github.com/users/hemanth/events{/privacy}","received_events_url":"https://api.github.com/users/hemanth/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hemanth/functional-programming-jargons","description":"Jargons from the functional programming world in simple terms! (WIP)","fork":false,"url":"https://api.github.com/repos/hemanth/functional-programming-jargons","forks_url":"https://api.github.com/repos/hemanth/functional-programming-jargons/forks","keys_url":"https://api.github.com/repos/hemanth/functional-programming-jargons/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hemanth/functional-programming-jargons/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hemanth/functional-programming-jargons/teams","hooks_url":"https://api.github.com/repos/hemanth/functional-programming-jargons/hooks","issue_events_url":"https://api.github.com/repos/hemanth/functional-programming-jargons/issues/events{/number}","events_url":"https://api.github.com/repos/hemanth/functional-programming-jargons/events","assignees_url":"https://api.github.com/repos/hemanth/functional-programming-jargons/assignees{/user}","branches_url":"https://api.github.com/repos/hemanth/functional-programming-jargons/branches{/branch}","tags_url":"https://api.github.com/repos/hemanth/functional-programming-jargons/tags","blobs_url":"https://api.github.com/repos/hemanth/functional-programming-jargons/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hemanth/functional-programming-jargons/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hemanth/functional-programming-jargons/git/refs{/sha}","trees_url":"https://api.github.com/repos/hemanth/functional-programming-jargons/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hemanth/functional-programming-jargons/statuses/{sha}","languages_url":"https://api.github.com/repos/hemanth/functional-programming-jargons/languages","stargazers_url":"https://api.github.com/repos/hemanth/functional-programming-jargons/stargazers","contributors_url":"https://api.github.com/repos/hemanth/functional-programming-jargons/contributors","subscribers_url":"https://api.github.com/repos/hemanth/functional-programming-jargons/subscribers","subscription_url":"https://api.github.com/repos/hemanth/functional-programming-jargons/subscription","commits_url":"https://api.github.com/repos/hemanth/functional-programming-jargons/commits{/sha}","git_commits_url":"https://api.github.com/repos/hemanth/functional-programming-jargons/git/commits{/sha}","comments_url":"https://api.github.com/repos/hemanth/functional-programming-jargons/comments{/number}","issue_comment_url":"https://api.github.com/repos/hemanth/functional-programming-jargons/issues/comments{/number}","contents_url":"https://api.github.com/repos/hemanth/functional-programming-jargons/contents/{+path}","compare_url":"https://api.github.com/repos/hemanth/functional-programming-jargons/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hemanth/functional-programming-jargons/merges","archive_url":"https://api.github.com/repos/hemanth/functional-programming-jargons/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hemanth/functional-programming-jargons/downloads","issues_url":"https://api.github.com/repos/hemanth/functional-programming-jargons/issues{/number}","pulls_url":"https://api.github.com/repos/hemanth/functional-programming-jargons/pulls{/number}","milestones_url":"https://api.github.com/repos/hemanth/functional-programming-jargons/milestones{/number}","notifications_url":"https://api.github.com/repos/hemanth/functional-programming-jargons/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hemanth/functional-programming-jargons/labels{/name}","releases_url":"https://api.github.com/repos/hemanth/functional-programming-jargons/releases{/id}","created_at":"2015-02-22T16:04:42Z","updated_at":"2015-09-20T06:15:41Z","pushed_at":"2015-09-20T08:24:17Z","git_url":"git://github.com/hemanth/functional-programming-jargons.git","ssh_url":"git@github.com:hemanth/functional-programming-jargons.git","clone_url":"https://github.com/hemanth/functional-programming-jargons.git","svn_url":"https://github.com/hemanth/functional-programming-jargons","homepage":"http://git.io/fp-jargons  ","size":188,"stargazers_count":76,"watchers_count":76,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":2,"forks":10,"open_issues":2,"watchers":76,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hemanth/functional-programming-jargons/pulls/7"},"html":{"href":"https://github.com/hemanth/functional-programming-jargons/pull/7"},"issue":{"href":"https://api.github.com/repos/hemanth/functional-programming-jargons/issues/7"},"comments":{"href":"https://api.github.com/repos/hemanth/functional-programming-jargons/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/hemanth/functional-programming-jargons/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/hemanth/functional-programming-jargons/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hemanth/functional-programming-jargons/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/hemanth/functional-programming-jargons/statuses/48ebe6159400ddee2719505d1c76f1acdd85f1cf"}}}}