{"action":"created","comment":{"url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/pulls/comments/84890638","pull_request_review_id":5637129,"id":84890638,"diff_hunk":"@@ -111,15 +111,25 @@ fun abs(v: List<Double>): Double = TODO()\n  *\n  * Рассчитать среднее арифметическое элементов списка list. Вернуть 0.0, если список пуст\n  */\n-fun mean(list: List<Double>): Double = TODO()\n+fun mean(list: List<Double>): Double {\n+    if (list.size == 0) return 0.0","path":"src/lesson4/task1/List.kt","position":14,"original_position":15,"commit_id":"3817ff596c2cea4278db554f23961b620eac63f0","original_commit_id":"3817ff596c2cea4278db554f23961b620eac63f0","user":{"login":"maximpetrov","id":2346982,"avatar_url":"https://avatars.githubusercontent.com/u/2346982?v=3","gravatar_id":"","url":"https://api.github.com/users/maximpetrov","html_url":"https://github.com/maximpetrov","followers_url":"https://api.github.com/users/maximpetrov/followers","following_url":"https://api.github.com/users/maximpetrov/following{/other_user}","gists_url":"https://api.github.com/users/maximpetrov/gists{/gist_id}","starred_url":"https://api.github.com/users/maximpetrov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maximpetrov/subscriptions","organizations_url":"https://api.github.com/users/maximpetrov/orgs","repos_url":"https://api.github.com/users/maximpetrov/repos","events_url":"https://api.github.com/users/maximpetrov/events{/privacy}","received_events_url":"https://api.github.com/users/maximpetrov/received_events","type":"User","site_admin":false},"body":"У коллекций есть метод `isEmpty()`, который проверяет их на пустоту.","created_at":"2016-10-25T12:30:27Z","updated_at":"2016-10-25T12:42:19Z","html_url":"https://github.com/Kotlin-Polytech/KotlinAsFirst2016/pull/187#discussion_r84890638","pull_request_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/pulls/187","_links":{"self":{"href":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/pulls/comments/84890638"},"html":{"href":"https://github.com/Kotlin-Polytech/KotlinAsFirst2016/pull/187#discussion_r84890638"},"pull_request":{"href":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/pulls/187"}}},"pull_request":{"url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/pulls/187","id":90600397,"html_url":"https://github.com/Kotlin-Polytech/KotlinAsFirst2016/pull/187","diff_url":"https://github.com/Kotlin-Polytech/KotlinAsFirst2016/pull/187.diff","patch_url":"https://github.com/Kotlin-Polytech/KotlinAsFirst2016/pull/187.patch","issue_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/issues/187","number":187,"state":"open","locked":false,"title":"2 урок ","user":{"login":"Kir86russ","id":22037631,"avatar_url":"https://avatars.githubusercontent.com/u/22037631?v=3","gravatar_id":"","url":"https://api.github.com/users/Kir86russ","html_url":"https://github.com/Kir86russ","followers_url":"https://api.github.com/users/Kir86russ/followers","following_url":"https://api.github.com/users/Kir86russ/following{/other_user}","gists_url":"https://api.github.com/users/Kir86russ/gists{/gist_id}","starred_url":"https://api.github.com/users/Kir86russ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kir86russ/subscriptions","organizations_url":"https://api.github.com/users/Kir86russ/orgs","repos_url":"https://api.github.com/users/Kir86russ/repos","events_url":"https://api.github.com/users/Kir86russ/events{/privacy}","received_events_url":"https://api.github.com/users/Kir86russ/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-10-24T12:16:00Z","updated_at":"2016-10-25T12:42:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"687c9876b29a50041d7ee17fe6be84894029cc24","assignee":{"login":"maximpetrov","id":2346982,"avatar_url":"https://avatars.githubusercontent.com/u/2346982?v=3","gravatar_id":"","url":"https://api.github.com/users/maximpetrov","html_url":"https://github.com/maximpetrov","followers_url":"https://api.github.com/users/maximpetrov/followers","following_url":"https://api.github.com/users/maximpetrov/following{/other_user}","gists_url":"https://api.github.com/users/maximpetrov/gists{/gist_id}","starred_url":"https://api.github.com/users/maximpetrov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maximpetrov/subscriptions","organizations_url":"https://api.github.com/users/maximpetrov/orgs","repos_url":"https://api.github.com/users/maximpetrov/repos","events_url":"https://api.github.com/users/maximpetrov/events{/privacy}","received_events_url":"https://api.github.com/users/maximpetrov/received_events","type":"User","site_admin":false},"assignees":[{"login":"maximpetrov","id":2346982,"avatar_url":"https://avatars.githubusercontent.com/u/2346982?v=3","gravatar_id":"","url":"https://api.github.com/users/maximpetrov","html_url":"https://github.com/maximpetrov","followers_url":"https://api.github.com/users/maximpetrov/followers","following_url":"https://api.github.com/users/maximpetrov/following{/other_user}","gists_url":"https://api.github.com/users/maximpetrov/gists{/gist_id}","starred_url":"https://api.github.com/users/maximpetrov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maximpetrov/subscriptions","organizations_url":"https://api.github.com/users/maximpetrov/orgs","repos_url":"https://api.github.com/users/maximpetrov/repos","events_url":"https://api.github.com/users/maximpetrov/events{/privacy}","received_events_url":"https://api.github.com/users/maximpetrov/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/pulls/187/commits","review_comments_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/pulls/187/comments","review_comment_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/issues/187/comments","statuses_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/statuses/3817ff596c2cea4278db554f23961b620eac63f0","head":{"label":"Kir86russ:master","ref":"master","sha":"3817ff596c2cea4278db554f23961b620eac63f0","user":{"login":"Kir86russ","id":22037631,"avatar_url":"https://avatars.githubusercontent.com/u/22037631?v=3","gravatar_id":"","url":"https://api.github.com/users/Kir86russ","html_url":"https://github.com/Kir86russ","followers_url":"https://api.github.com/users/Kir86russ/followers","following_url":"https://api.github.com/users/Kir86russ/following{/other_user}","gists_url":"https://api.github.com/users/Kir86russ/gists{/gist_id}","starred_url":"https://api.github.com/users/Kir86russ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kir86russ/subscriptions","organizations_url":"https://api.github.com/users/Kir86russ/orgs","repos_url":"https://api.github.com/users/Kir86russ/repos","events_url":"https://api.github.com/users/Kir86russ/events{/privacy}","received_events_url":"https://api.github.com/users/Kir86russ/received_events","type":"User","site_admin":false},"repo":{"id":67678801,"name":"KotlinAsFirst2016","full_name":"Kir86russ/KotlinAsFirst2016","owner":{"login":"Kir86russ","id":22037631,"avatar_url":"https://avatars.githubusercontent.com/u/22037631?v=3","gravatar_id":"","url":"https://api.github.com/users/Kir86russ","html_url":"https://github.com/Kir86russ","followers_url":"https://api.github.com/users/Kir86russ/followers","following_url":"https://api.github.com/users/Kir86russ/following{/other_user}","gists_url":"https://api.github.com/users/Kir86russ/gists{/gist_id}","starred_url":"https://api.github.com/users/Kir86russ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kir86russ/subscriptions","organizations_url":"https://api.github.com/users/Kir86russ/orgs","repos_url":"https://api.github.com/users/Kir86russ/repos","events_url":"https://api.github.com/users/Kir86russ/events{/privacy}","received_events_url":"https://api.github.com/users/Kir86russ/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Kir86russ/KotlinAsFirst2016","description":null,"fork":true,"url":"https://api.github.com/repos/Kir86russ/KotlinAsFirst2016","forks_url":"https://api.github.com/repos/Kir86russ/KotlinAsFirst2016/forks","keys_url":"https://api.github.com/repos/Kir86russ/KotlinAsFirst2016/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Kir86russ/KotlinAsFirst2016/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Kir86russ/KotlinAsFirst2016/teams","hooks_url":"https://api.github.com/repos/Kir86russ/KotlinAsFirst2016/hooks","issue_events_url":"https://api.github.com/repos/Kir86russ/KotlinAsFirst2016/issues/events{/number}","events_url":"https://api.github.com/repos/Kir86russ/KotlinAsFirst2016/events","assignees_url":"https://api.github.com/repos/Kir86russ/KotlinAsFirst2016/assignees{/user}","branches_url":"https://api.github.com/repos/Kir86russ/KotlinAsFirst2016/branches{/branch}","tags_url":"https://api.github.com/repos/Kir86russ/KotlinAsFirst2016/tags","blobs_url":"https://api.github.com/repos/Kir86russ/KotlinAsFirst2016/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Kir86russ/KotlinAsFirst2016/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Kir86russ/KotlinAsFirst2016/git/refs{/sha}","trees_url":"https://api.github.com/repos/Kir86russ/KotlinAsFirst2016/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Kir86russ/KotlinAsFirst2016/statuses/{sha}","languages_url":"https://api.github.com/repos/Kir86russ/KotlinAsFirst2016/languages","stargazers_url":"https://api.github.com/repos/Kir86russ/KotlinAsFirst2016/stargazers","contributors_url":"https://api.github.com/repos/Kir86russ/KotlinAsFirst2016/contributors","subscribers_url":"https://api.github.com/repos/Kir86russ/KotlinAsFirst2016/subscribers","subscription_url":"https://api.github.com/repos/Kir86russ/KotlinAsFirst2016/subscription","commits_url":"https://api.github.com/repos/Kir86russ/KotlinAsFirst2016/commits{/sha}","git_commits_url":"https://api.github.com/repos/Kir86russ/KotlinAsFirst2016/git/commits{/sha}","comments_url":"https://api.github.com/repos/Kir86russ/KotlinAsFirst2016/comments{/number}","issue_comment_url":"https://api.github.com/repos/Kir86russ/KotlinAsFirst2016/issues/comments{/number}","contents_url":"https://api.github.com/repos/Kir86russ/KotlinAsFirst2016/contents/{+path}","compare_url":"https://api.github.com/repos/Kir86russ/KotlinAsFirst2016/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Kir86russ/KotlinAsFirst2016/merges","archive_url":"https://api.github.com/repos/Kir86russ/KotlinAsFirst2016/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Kir86russ/KotlinAsFirst2016/downloads","issues_url":"https://api.github.com/repos/Kir86russ/KotlinAsFirst2016/issues{/number}","pulls_url":"https://api.github.com/repos/Kir86russ/KotlinAsFirst2016/pulls{/number}","milestones_url":"https://api.github.com/repos/Kir86russ/KotlinAsFirst2016/milestones{/number}","notifications_url":"https://api.github.com/repos/Kir86russ/KotlinAsFirst2016/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Kir86russ/KotlinAsFirst2016/labels{/name}","releases_url":"https://api.github.com/repos/Kir86russ/KotlinAsFirst2016/releases{/id}","deployments_url":"https://api.github.com/repos/Kir86russ/KotlinAsFirst2016/deployments","created_at":"2016-09-08T07:20:21Z","updated_at":"2016-09-08T07:20:23Z","pushed_at":"2016-10-24T23:53:52Z","git_url":"git://github.com/Kir86russ/KotlinAsFirst2016.git","ssh_url":"git@github.com:Kir86russ/KotlinAsFirst2016.git","clone_url":"https://github.com/Kir86russ/KotlinAsFirst2016.git","svn_url":"https://github.com/Kir86russ/KotlinAsFirst2016","homepage":null,"size":3055,"stargazers_count":0,"watchers_count":0,"language":"Kotlin","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":"Kotlin-Polytech:master","ref":"master","sha":"8c89ffac9a855183dc947ddc816cee1b59db666f","user":{"login":"Kotlin-Polytech","id":20967488,"avatar_url":"https://avatars.githubusercontent.com/u/20967488?v=3","gravatar_id":"","url":"https://api.github.com/users/Kotlin-Polytech","html_url":"https://github.com/Kotlin-Polytech","followers_url":"https://api.github.com/users/Kotlin-Polytech/followers","following_url":"https://api.github.com/users/Kotlin-Polytech/following{/other_user}","gists_url":"https://api.github.com/users/Kotlin-Polytech/gists{/gist_id}","starred_url":"https://api.github.com/users/Kotlin-Polytech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kotlin-Polytech/subscriptions","organizations_url":"https://api.github.com/users/Kotlin-Polytech/orgs","repos_url":"https://api.github.com/users/Kotlin-Polytech/repos","events_url":"https://api.github.com/users/Kotlin-Polytech/events{/privacy}","received_events_url":"https://api.github.com/users/Kotlin-Polytech/received_events","type":"Organization","site_admin":false},"repo":{"id":67405509,"name":"KotlinAsFirst2016","full_name":"Kotlin-Polytech/KotlinAsFirst2016","owner":{"login":"Kotlin-Polytech","id":20967488,"avatar_url":"https://avatars.githubusercontent.com/u/20967488?v=3","gravatar_id":"","url":"https://api.github.com/users/Kotlin-Polytech","html_url":"https://github.com/Kotlin-Polytech","followers_url":"https://api.github.com/users/Kotlin-Polytech/followers","following_url":"https://api.github.com/users/Kotlin-Polytech/following{/other_user}","gists_url":"https://api.github.com/users/Kotlin-Polytech/gists{/gist_id}","starred_url":"https://api.github.com/users/Kotlin-Polytech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kotlin-Polytech/subscriptions","organizations_url":"https://api.github.com/users/Kotlin-Polytech/orgs","repos_url":"https://api.github.com/users/Kotlin-Polytech/repos","events_url":"https://api.github.com/users/Kotlin-Polytech/events{/privacy}","received_events_url":"https://api.github.com/users/Kotlin-Polytech/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Kotlin-Polytech/KotlinAsFirst2016","description":null,"fork":false,"url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016","forks_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/forks","keys_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/teams","hooks_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/hooks","issue_events_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/issues/events{/number}","events_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/events","assignees_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/assignees{/user}","branches_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/branches{/branch}","tags_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/tags","blobs_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/git/refs{/sha}","trees_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/statuses/{sha}","languages_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/languages","stargazers_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/stargazers","contributors_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/contributors","subscribers_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/subscribers","subscription_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/subscription","commits_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/commits{/sha}","git_commits_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/git/commits{/sha}","comments_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/comments{/number}","issue_comment_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/issues/comments{/number}","contents_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/contents/{+path}","compare_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/merges","archive_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/downloads","issues_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/issues{/number}","pulls_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/pulls{/number}","milestones_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/milestones{/number}","notifications_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/labels{/name}","releases_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/releases{/id}","deployments_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/deployments","created_at":"2016-09-05T09:06:26Z","updated_at":"2016-10-24T11:05:48Z","pushed_at":"2016-10-25T08:02:04Z","git_url":"git://github.com/Kotlin-Polytech/KotlinAsFirst2016.git","ssh_url":"git@github.com:Kotlin-Polytech/KotlinAsFirst2016.git","clone_url":"https://github.com/Kotlin-Polytech/KotlinAsFirst2016.git","svn_url":"https://github.com/Kotlin-Polytech/KotlinAsFirst2016","homepage":null,"size":18416,"stargazers_count":14,"watchers_count":14,"language":"Kotlin","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":98,"mirror_url":null,"open_issues_count":74,"forks":98,"open_issues":74,"watchers":14,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/pulls/187"},"html":{"href":"https://github.com/Kotlin-Polytech/KotlinAsFirst2016/pull/187"},"issue":{"href":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/issues/187"},"comments":{"href":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/issues/187/comments"},"review_comments":{"href":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/pulls/187/comments"},"review_comment":{"href":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/pulls/187/commits"},"statuses":{"href":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/statuses/3817ff596c2cea4278db554f23961b620eac63f0"}}}}
{"actor":{"display_login":"maximpetrov"}}