{"action":"created","comment":{"url":"https://api.github.com/repos/hemanth/functional-programming-jargon/pulls/comments/61119406","id":61119406,"diff_hunk":"@@ -99,13 +99,18 @@ console.log(\"IO is a side effect!\");\n \n ## Idempotency\n \n-> A function is said to be idempotent if it has no side-effects on multiple\n-executions with the the same input parameters.\n+> A function is said to be idempotent if there are no additional effects of calling it a second time with the same parameters.","path":"readme.md","position":6,"original_position":6,"commit_id":"1223ee2a52772b817d3e1d9a3731757f9e083bd9","original_commit_id":"1223ee2a52772b817d3e1d9a3731757f9e083bd9","user":{"login":"jethrolarson","id":32480,"avatar_url":"https://avatars.githubusercontent.com/u/32480?v=3","gravatar_id":"","url":"https://api.github.com/users/jethrolarson","html_url":"https://github.com/jethrolarson","followers_url":"https://api.github.com/users/jethrolarson/followers","following_url":"https://api.github.com/users/jethrolarson/following{/other_user}","gists_url":"https://api.github.com/users/jethrolarson/gists{/gist_id}","starred_url":"https://api.github.com/users/jethrolarson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jethrolarson/subscriptions","organizations_url":"https://api.github.com/users/jethrolarson/orgs","repos_url":"https://api.github.com/users/jethrolarson/repos","events_url":"https://api.github.com/users/jethrolarson/events{/privacy}","received_events_url":"https://api.github.com/users/jethrolarson/received_events","type":"User","site_admin":false},"body":"Idempotency is simpler for pure functions. Should I just presume functions\nare pure in the definition?\n\nOn Tue, Apr 26, 2016, 2:25 AM hemanth.hm <notifications@github.com> wrote:\n\n> In readme.md\n> <https://github.com/hemanth/functional-programming-jargon/pull/13#discussion_r61054232>\n> :\n>\n> > @@ -99,13 +99,18 @@ console.log(\"IO is a side effect!\");\n> >\n> >  ## Idempotency\n> >\n> > -> A function is said to be idempotent if it has no side-effects on multiple\n> > -executions with the the same input parameters.\n> > +> A function is said to be idempotent if there are no additional effects of calling it a second time with the same parameters.\n>\n> Well, I just an other 🐜 in this universe.\n>\n> @jethrolarson <https://github.com/jethrolarson> You could review the\n> file, check if we could add some more missing definitions, thanks!\n>\n> —\n> You are receiving this because you were mentioned.\n>\n>\n> Reply to this email directly or view it on GitHub\n> <https://github.com/hemanth/functional-programming-jargon/pull/13/files/1223ee2a52772b817d3e1d9a3731757f9e083bd9#r61054232>\n>\n","created_at":"2016-04-26T16:35:52Z","updated_at":"2016-04-26T16:35:52Z","html_url":"https://github.com/hemanth/functional-programming-jargon/pull/13#discussion_r61119406","pull_request_url":"https://api.github.com/repos/hemanth/functional-programming-jargon/pulls/13","_links":{"self":{"href":"https://api.github.com/repos/hemanth/functional-programming-jargon/pulls/comments/61119406"},"html":{"href":"https://github.com/hemanth/functional-programming-jargon/pull/13#discussion_r61119406"},"pull_request":{"href":"https://api.github.com/repos/hemanth/functional-programming-jargon/pulls/13"}}},"pull_request":{"url":"https://api.github.com/repos/hemanth/functional-programming-jargon/pulls/13","id":45505631,"html_url":"https://github.com/hemanth/functional-programming-jargon/pull/13","diff_url":"https://github.com/hemanth/functional-programming-jargon/pull/13.diff","patch_url":"https://github.com/hemanth/functional-programming-jargon/pull/13.patch","issue_url":"https://api.github.com/repos/hemanth/functional-programming-jargon/issues/13","number":13,"state":"open","locked":false,"title":"Updating idempotent 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":"I _think_ this definition is clearer, but others may disagree.\r\n\r\nI also added an example that I think demonstrates it a little better.\r\n\r\n","created_at":"2015-09-20T22:29:01Z","updated_at":"2016-04-26T16:35:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fd2b3fa7dda3bfd759eb9e0e6f820bdbb7230837","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hemanth/functional-programming-jargon/pulls/13/commits","review_comments_url":"https://api.github.com/repos/hemanth/functional-programming-jargon/pulls/13/comments","review_comment_url":"https://api.github.com/repos/hemanth/functional-programming-jargon/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hemanth/functional-programming-jargon/issues/13/comments","statuses_url":"https://api.github.com/repos/hemanth/functional-programming-jargon/statuses/1223ee2a52772b817d3e1d9a3731757f9e083bd9","head":{"label":"CrossEye:update-idempotent","ref":"update-idempotent","sha":"1223ee2a52772b817d3e1d9a3731757f9e083bd9","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}","deployments_url":"https://api.github.com/repos/CrossEye/functional-programming-jargons/deployments","created_at":"2015-09-19T19:52:55Z","updated_at":"2015-09-19T19:52:03Z","pushed_at":"2016-02-28T02:53:47Z","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":35,"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":"d7493fa192b71bca4216af2f8a1ca5f024a32c01","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-jargon","full_name":"hemanth/functional-programming-jargon","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-jargon","description":"Jargon from the functional programming world in simple terms! (WIP)","fork":false,"url":"https://api.github.com/repos/hemanth/functional-programming-jargon","forks_url":"https://api.github.com/repos/hemanth/functional-programming-jargon/forks","keys_url":"https://api.github.com/repos/hemanth/functional-programming-jargon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hemanth/functional-programming-jargon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hemanth/functional-programming-jargon/teams","hooks_url":"https://api.github.com/repos/hemanth/functional-programming-jargon/hooks","issue_events_url":"https://api.github.com/repos/hemanth/functional-programming-jargon/issues/events{/number}","events_url":"https://api.github.com/repos/hemanth/functional-programming-jargon/events","assignees_url":"https://api.github.com/repos/hemanth/functional-programming-jargon/assignees{/user}","branches_url":"https://api.github.com/repos/hemanth/functional-programming-jargon/branches{/branch}","tags_url":"https://api.github.com/repos/hemanth/functional-programming-jargon/tags","blobs_url":"https://api.github.com/repos/hemanth/functional-programming-jargon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hemanth/functional-programming-jargon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hemanth/functional-programming-jargon/git/refs{/sha}","trees_url":"https://api.github.com/repos/hemanth/functional-programming-jargon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hemanth/functional-programming-jargon/statuses/{sha}","languages_url":"https://api.github.com/repos/hemanth/functional-programming-jargon/languages","stargazers_url":"https://api.github.com/repos/hemanth/functional-programming-jargon/stargazers","contributors_url":"https://api.github.com/repos/hemanth/functional-programming-jargon/contributors","subscribers_url":"https://api.github.com/repos/hemanth/functional-programming-jargon/subscribers","subscription_url":"https://api.github.com/repos/hemanth/functional-programming-jargon/subscription","commits_url":"https://api.github.com/repos/hemanth/functional-programming-jargon/commits{/sha}","git_commits_url":"https://api.github.com/repos/hemanth/functional-programming-jargon/git/commits{/sha}","comments_url":"https://api.github.com/repos/hemanth/functional-programming-jargon/comments{/number}","issue_comment_url":"https://api.github.com/repos/hemanth/functional-programming-jargon/issues/comments{/number}","contents_url":"https://api.github.com/repos/hemanth/functional-programming-jargon/contents/{+path}","compare_url":"https://api.github.com/repos/hemanth/functional-programming-jargon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hemanth/functional-programming-jargon/merges","archive_url":"https://api.github.com/repos/hemanth/functional-programming-jargon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hemanth/functional-programming-jargon/downloads","issues_url":"https://api.github.com/repos/hemanth/functional-programming-jargon/issues{/number}","pulls_url":"https://api.github.com/repos/hemanth/functional-programming-jargon/pulls{/number}","milestones_url":"https://api.github.com/repos/hemanth/functional-programming-jargon/milestones{/number}","notifications_url":"https://api.github.com/repos/hemanth/functional-programming-jargon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hemanth/functional-programming-jargon/labels{/name}","releases_url":"https://api.github.com/repos/hemanth/functional-programming-jargon/releases{/id}","deployments_url":"https://api.github.com/repos/hemanth/functional-programming-jargon/deployments","created_at":"2015-02-22T16:04:42Z","updated_at":"2016-04-23T20:25:49Z","pushed_at":"2016-04-24T06:12:38Z","git_url":"git://github.com/hemanth/functional-programming-jargon.git","ssh_url":"git@github.com:hemanth/functional-programming-jargon.git","clone_url":"https://github.com/hemanth/functional-programming-jargon.git","svn_url":"https://github.com/hemanth/functional-programming-jargon","homepage":"http://git.io/fp-jargons  ","size":46,"stargazers_count":380,"watchers_count":380,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":34,"mirror_url":null,"open_issues_count":9,"forks":34,"open_issues":9,"watchers":380,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hemanth/functional-programming-jargon/pulls/13"},"html":{"href":"https://github.com/hemanth/functional-programming-jargon/pull/13"},"issue":{"href":"https://api.github.com/repos/hemanth/functional-programming-jargon/issues/13"},"comments":{"href":"https://api.github.com/repos/hemanth/functional-programming-jargon/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/hemanth/functional-programming-jargon/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/hemanth/functional-programming-jargon/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hemanth/functional-programming-jargon/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/hemanth/functional-programming-jargon/statuses/1223ee2a52772b817d3e1d9a3731757f9e083bd9"}}}}