{"action":"created","comment":{"url":"https://api.github.com/repos/adkozlov/scala-2018/pulls/comments/243272648","pull_request_review_id":186994469,"id":243272648,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MzI3MjY0OA==","diff_hunk":"@@ -0,0 +1,21 @@\n+package hlist\n+\n+import nat._\n+\n+trait Splittable[List <: HList, I <: Nat, L <: HList, R <: HList] {\n+  def apply(list: List): (L, R)\n+}\n+\n+object Splittable {\n+\n+  import HList._\n+\n+  implicit def zeroIndexSplittable[P <: HList]: Splittable[P, Zero, HNil.type, P] =\n+    (list: P) => (HNil, list)\n+\n+  implicit def splittable[M, N <: HList, I <: Nat, L <: HList, R <: HList]\n+    (implicit splittable: Splittable[N, I, L, R]): Splittable[HCons[M, N], Succ[I], HCons[M, L], R] =\n+    (list) => splittable(list.tail) match {","path":"src/main/scala/hlist/Splittable.scala","position":18,"original_position":18,"commit_id":"060c2da2c0dc93ea04a3d6a8f7a3fe5d1055de87","original_commit_id":"060c2da2c0dc93ea04a3d6a8f7a3fe5d1055de87","user":{"login":"adkozlov","id":1233785,"node_id":"MDQ6VXNlcjEyMzM3ODU=","avatar_url":"https://avatars3.githubusercontent.com/u/1233785?v=4","gravatar_id":"","url":"https://api.github.com/users/adkozlov","html_url":"https://github.com/adkozlov","followers_url":"https://api.github.com/users/adkozlov/followers","following_url":"https://api.github.com/users/adkozlov/following{/other_user}","gists_url":"https://api.github.com/users/adkozlov/gists{/gist_id}","starred_url":"https://api.github.com/users/adkozlov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adkozlov/subscriptions","organizations_url":"https://api.github.com/users/adkozlov/orgs","repos_url":"https://api.github.com/users/adkozlov/repos","events_url":"https://api.github.com/users/adkozlov/events{/privacy}","received_events_url":"https://api.github.com/users/adkozlov/received_events","type":"User","site_admin":false},"body":"Скобки не нужны.","created_at":"2018-12-20T13:34:48Z","updated_at":"2018-12-20T13:35:32Z","html_url":"https://github.com/adkozlov/scala-2018/pull/99#discussion_r243272648","pull_request_url":"https://api.github.com/repos/adkozlov/scala-2018/pulls/99","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/adkozlov/scala-2018/pulls/comments/243272648"},"html":{"href":"https://github.com/adkozlov/scala-2018/pull/99#discussion_r243272648"},"pull_request":{"href":"https://api.github.com/repos/adkozlov/scala-2018/pulls/99"}}},"pull_request":{"url":"https://api.github.com/repos/adkozlov/scala-2018/pulls/99","id":239607789,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM5NjA3Nzg5","html_url":"https://github.com/adkozlov/scala-2018/pull/99","diff_url":"https://github.com/adkozlov/scala-2018/pull/99.diff","patch_url":"https://github.com/adkozlov/scala-2018/pull/99.patch","issue_url":"https://api.github.com/repos/adkozlov/scala-2018/issues/99","number":99,"state":"open","locked":false,"title":"HA03, Горячева Валерия","user":{"login":"lergor","id":31742676,"node_id":"MDQ6VXNlcjMxNzQyNjc2","avatar_url":"https://avatars2.githubusercontent.com/u/31742676?v=4","gravatar_id":"","url":"https://api.github.com/users/lergor","html_url":"https://github.com/lergor","followers_url":"https://api.github.com/users/lergor/followers","following_url":"https://api.github.com/users/lergor/following{/other_user}","gists_url":"https://api.github.com/users/lergor/gists{/gist_id}","starred_url":"https://api.github.com/users/lergor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lergor/subscriptions","organizations_url":"https://api.github.com/users/lergor/orgs","repos_url":"https://api.github.com/users/lergor/repos","events_url":"https://api.github.com/users/lergor/events{/privacy}","received_events_url":"https://api.github.com/users/lergor/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-12-18T19:40:59Z","updated_at":"2018-12-20T13:35:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e9f261e8c570b2a61feb59c130058cd8d1d01197","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/adkozlov/scala-2018/pulls/99/commits","review_comments_url":"https://api.github.com/repos/adkozlov/scala-2018/pulls/99/comments","review_comment_url":"https://api.github.com/repos/adkozlov/scala-2018/pulls/comments{/number}","comments_url":"https://api.github.com/repos/adkozlov/scala-2018/issues/99/comments","statuses_url":"https://api.github.com/repos/adkozlov/scala-2018/statuses/060c2da2c0dc93ea04a3d6a8f7a3fe5d1055de87","head":{"label":"lergor:03-heterogeneous","ref":"03-heterogeneous","sha":"060c2da2c0dc93ea04a3d6a8f7a3fe5d1055de87","user":{"login":"lergor","id":31742676,"node_id":"MDQ6VXNlcjMxNzQyNjc2","avatar_url":"https://avatars2.githubusercontent.com/u/31742676?v=4","gravatar_id":"","url":"https://api.github.com/users/lergor","html_url":"https://github.com/lergor","followers_url":"https://api.github.com/users/lergor/followers","following_url":"https://api.github.com/users/lergor/following{/other_user}","gists_url":"https://api.github.com/users/lergor/gists{/gist_id}","starred_url":"https://api.github.com/users/lergor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lergor/subscriptions","organizations_url":"https://api.github.com/users/lergor/orgs","repos_url":"https://api.github.com/users/lergor/repos","events_url":"https://api.github.com/users/lergor/events{/privacy}","received_events_url":"https://api.github.com/users/lergor/received_events","type":"User","site_admin":false},"repo":{"id":154734005,"node_id":"MDEwOlJlcG9zaXRvcnkxNTQ3MzQwMDU=","name":"scala-2018","full_name":"lergor/scala-2018","private":false,"owner":{"login":"lergor","id":31742676,"node_id":"MDQ6VXNlcjMxNzQyNjc2","avatar_url":"https://avatars2.githubusercontent.com/u/31742676?v=4","gravatar_id":"","url":"https://api.github.com/users/lergor","html_url":"https://github.com/lergor","followers_url":"https://api.github.com/users/lergor/followers","following_url":"https://api.github.com/users/lergor/following{/other_user}","gists_url":"https://api.github.com/users/lergor/gists{/gist_id}","starred_url":"https://api.github.com/users/lergor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lergor/subscriptions","organizations_url":"https://api.github.com/users/lergor/orgs","repos_url":"https://api.github.com/users/lergor/repos","events_url":"https://api.github.com/users/lergor/events{/privacy}","received_events_url":"https://api.github.com/users/lergor/received_events","type":"User","site_admin":false},"html_url":"https://github.com/lergor/scala-2018","description":"Scala course at HSE/ITMO, Fall'18.","fork":true,"url":"https://api.github.com/repos/lergor/scala-2018","forks_url":"https://api.github.com/repos/lergor/scala-2018/forks","keys_url":"https://api.github.com/repos/lergor/scala-2018/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lergor/scala-2018/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lergor/scala-2018/teams","hooks_url":"https://api.github.com/repos/lergor/scala-2018/hooks","issue_events_url":"https://api.github.com/repos/lergor/scala-2018/issues/events{/number}","events_url":"https://api.github.com/repos/lergor/scala-2018/events","assignees_url":"https://api.github.com/repos/lergor/scala-2018/assignees{/user}","branches_url":"https://api.github.com/repos/lergor/scala-2018/branches{/branch}","tags_url":"https://api.github.com/repos/lergor/scala-2018/tags","blobs_url":"https://api.github.com/repos/lergor/scala-2018/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lergor/scala-2018/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lergor/scala-2018/git/refs{/sha}","trees_url":"https://api.github.com/repos/lergor/scala-2018/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lergor/scala-2018/statuses/{sha}","languages_url":"https://api.github.com/repos/lergor/scala-2018/languages","stargazers_url":"https://api.github.com/repos/lergor/scala-2018/stargazers","contributors_url":"https://api.github.com/repos/lergor/scala-2018/contributors","subscribers_url":"https://api.github.com/repos/lergor/scala-2018/subscribers","subscription_url":"https://api.github.com/repos/lergor/scala-2018/subscription","commits_url":"https://api.github.com/repos/lergor/scala-2018/commits{/sha}","git_commits_url":"https://api.github.com/repos/lergor/scala-2018/git/commits{/sha}","comments_url":"https://api.github.com/repos/lergor/scala-2018/comments{/number}","issue_comment_url":"https://api.github.com/repos/lergor/scala-2018/issues/comments{/number}","contents_url":"https://api.github.com/repos/lergor/scala-2018/contents/{+path}","compare_url":"https://api.github.com/repos/lergor/scala-2018/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lergor/scala-2018/merges","archive_url":"https://api.github.com/repos/lergor/scala-2018/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lergor/scala-2018/downloads","issues_url":"https://api.github.com/repos/lergor/scala-2018/issues{/number}","pulls_url":"https://api.github.com/repos/lergor/scala-2018/pulls{/number}","milestones_url":"https://api.github.com/repos/lergor/scala-2018/milestones{/number}","notifications_url":"https://api.github.com/repos/lergor/scala-2018/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lergor/scala-2018/labels{/name}","releases_url":"https://api.github.com/repos/lergor/scala-2018/releases{/id}","deployments_url":"https://api.github.com/repos/lergor/scala-2018/deployments","created_at":"2018-10-25T20:34:24Z","updated_at":"2018-10-25T20:34:26Z","pushed_at":"2018-12-18T19:39:19Z","git_url":"git://github.com/lergor/scala-2018.git","ssh_url":"git@github.com:lergor/scala-2018.git","clone_url":"https://github.com/lergor/scala-2018.git","svn_url":"https://github.com/lergor/scala-2018","homepage":null,"size":26,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"adkozlov:03-heterogeneous","ref":"03-heterogeneous","sha":"ab33de90d10c6ef884046bc1292fafdf2197cc00","user":{"login":"adkozlov","id":1233785,"node_id":"MDQ6VXNlcjEyMzM3ODU=","avatar_url":"https://avatars3.githubusercontent.com/u/1233785?v=4","gravatar_id":"","url":"https://api.github.com/users/adkozlov","html_url":"https://github.com/adkozlov","followers_url":"https://api.github.com/users/adkozlov/followers","following_url":"https://api.github.com/users/adkozlov/following{/other_user}","gists_url":"https://api.github.com/users/adkozlov/gists{/gist_id}","starred_url":"https://api.github.com/users/adkozlov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adkozlov/subscriptions","organizations_url":"https://api.github.com/users/adkozlov/orgs","repos_url":"https://api.github.com/users/adkozlov/repos","events_url":"https://api.github.com/users/adkozlov/events{/privacy}","received_events_url":"https://api.github.com/users/adkozlov/received_events","type":"User","site_admin":false},"repo":{"id":152305721,"node_id":"MDEwOlJlcG9zaXRvcnkxNTIzMDU3MjE=","name":"scala-2018","full_name":"adkozlov/scala-2018","private":false,"owner":{"login":"adkozlov","id":1233785,"node_id":"MDQ6VXNlcjEyMzM3ODU=","avatar_url":"https://avatars3.githubusercontent.com/u/1233785?v=4","gravatar_id":"","url":"https://api.github.com/users/adkozlov","html_url":"https://github.com/adkozlov","followers_url":"https://api.github.com/users/adkozlov/followers","following_url":"https://api.github.com/users/adkozlov/following{/other_user}","gists_url":"https://api.github.com/users/adkozlov/gists{/gist_id}","starred_url":"https://api.github.com/users/adkozlov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adkozlov/subscriptions","organizations_url":"https://api.github.com/users/adkozlov/orgs","repos_url":"https://api.github.com/users/adkozlov/repos","events_url":"https://api.github.com/users/adkozlov/events{/privacy}","received_events_url":"https://api.github.com/users/adkozlov/received_events","type":"User","site_admin":false},"html_url":"https://github.com/adkozlov/scala-2018","description":"Scala course at HSE/ITMO, Fall'18.","fork":false,"url":"https://api.github.com/repos/adkozlov/scala-2018","forks_url":"https://api.github.com/repos/adkozlov/scala-2018/forks","keys_url":"https://api.github.com/repos/adkozlov/scala-2018/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adkozlov/scala-2018/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adkozlov/scala-2018/teams","hooks_url":"https://api.github.com/repos/adkozlov/scala-2018/hooks","issue_events_url":"https://api.github.com/repos/adkozlov/scala-2018/issues/events{/number}","events_url":"https://api.github.com/repos/adkozlov/scala-2018/events","assignees_url":"https://api.github.com/repos/adkozlov/scala-2018/assignees{/user}","branches_url":"https://api.github.com/repos/adkozlov/scala-2018/branches{/branch}","tags_url":"https://api.github.com/repos/adkozlov/scala-2018/tags","blobs_url":"https://api.github.com/repos/adkozlov/scala-2018/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adkozlov/scala-2018/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adkozlov/scala-2018/git/refs{/sha}","trees_url":"https://api.github.com/repos/adkozlov/scala-2018/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adkozlov/scala-2018/statuses/{sha}","languages_url":"https://api.github.com/repos/adkozlov/scala-2018/languages","stargazers_url":"https://api.github.com/repos/adkozlov/scala-2018/stargazers","contributors_url":"https://api.github.com/repos/adkozlov/scala-2018/contributors","subscribers_url":"https://api.github.com/repos/adkozlov/scala-2018/subscribers","subscription_url":"https://api.github.com/repos/adkozlov/scala-2018/subscription","commits_url":"https://api.github.com/repos/adkozlov/scala-2018/commits{/sha}","git_commits_url":"https://api.github.com/repos/adkozlov/scala-2018/git/commits{/sha}","comments_url":"https://api.github.com/repos/adkozlov/scala-2018/comments{/number}","issue_comment_url":"https://api.github.com/repos/adkozlov/scala-2018/issues/comments{/number}","contents_url":"https://api.github.com/repos/adkozlov/scala-2018/contents/{+path}","compare_url":"https://api.github.com/repos/adkozlov/scala-2018/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adkozlov/scala-2018/merges","archive_url":"https://api.github.com/repos/adkozlov/scala-2018/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adkozlov/scala-2018/downloads","issues_url":"https://api.github.com/repos/adkozlov/scala-2018/issues{/number}","pulls_url":"https://api.github.com/repos/adkozlov/scala-2018/pulls{/number}","milestones_url":"https://api.github.com/repos/adkozlov/scala-2018/milestones{/number}","notifications_url":"https://api.github.com/repos/adkozlov/scala-2018/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adkozlov/scala-2018/labels{/name}","releases_url":"https://api.github.com/repos/adkozlov/scala-2018/releases{/id}","deployments_url":"https://api.github.com/repos/adkozlov/scala-2018/deployments","created_at":"2018-10-09T19:01:54Z","updated_at":"2018-12-12T08:55:08Z","pushed_at":"2018-12-18T21:37:44Z","git_url":"git://github.com/adkozlov/scala-2018.git","ssh_url":"git@github.com:adkozlov/scala-2018.git","clone_url":"https://github.com/adkozlov/scala-2018.git","svn_url":"https://github.com/adkozlov/scala-2018","homepage":null,"size":25,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":34,"mirror_url":null,"archived":false,"open_issues_count":52,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":34,"open_issues":52,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/adkozlov/scala-2018/pulls/99"},"html":{"href":"https://github.com/adkozlov/scala-2018/pull/99"},"issue":{"href":"https://api.github.com/repos/adkozlov/scala-2018/issues/99"},"comments":{"href":"https://api.github.com/repos/adkozlov/scala-2018/issues/99/comments"},"review_comments":{"href":"https://api.github.com/repos/adkozlov/scala-2018/pulls/99/comments"},"review_comment":{"href":"https://api.github.com/repos/adkozlov/scala-2018/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/adkozlov/scala-2018/pulls/99/commits"},"statuses":{"href":"https://api.github.com/repos/adkozlov/scala-2018/statuses/060c2da2c0dc93ea04a3d6a8f7a3fe5d1055de87"}},"author_association":"NONE"}}
{"actor":{"display_login":"adkozlov"}}