{"action":"created","comment":{"url":"https://api.github.com/repos/dwango/S99/pulls/comments/61059896","id":61059896,"diff_hunk":"@@ -0,0 +1,10 @@\n+package jp.co.dwango.s99\n+\n+object P31 {\n+  implicit def isPrime(x: Int) = new {","path":"src/main/scala/jp/co/dwango/s99/P31.scala","position":4,"original_position":4,"commit_id":"5c32a88017769fbc62e1235f9f7c6e07382b2d3b","original_commit_id":"406fe7c8dd4a1692d81200e26cb861d28c3bc061","user":{"login":"kmizu","id":97326,"avatar_url":"https://avatars.githubusercontent.com/u/97326?v=3","gravatar_id":"","url":"https://api.github.com/users/kmizu","html_url":"https://github.com/kmizu","followers_url":"https://api.github.com/users/kmizu/followers","following_url":"https://api.github.com/users/kmizu/following{/other_user}","gists_url":"https://api.github.com/users/kmizu/gists{/gist_id}","starred_url":"https://api.github.com/users/kmizu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kmizu/subscriptions","organizations_url":"https://api.github.com/users/kmizu/orgs","repos_url":"https://api.github.com/users/kmizu/repos","events_url":"https://api.github.com/users/kmizu/events{/privacy}","received_events_url":"https://api.github.com/users/kmizu/received_events","type":"User","site_admin":false},"body":"> としか書いてないので、微妙なところというか、これから方針決めるべきところですが、\r\n\r\nS99の解答形式を忠実になぞると、解答があちこちにばらけちゃうのが悩みどころです。最終的には、ラップして`PXX`オブジェクトのメソッドを生やしてもらう方がチェックも楽だしいいと思っています。\r\n\r\n`new { ... }` は微妙というのは賛成です。`implict class`使ってもらった方がいいかな？","created_at":"2016-04-26T10:02:19Z","updated_at":"2016-04-26T10:02:19Z","html_url":"https://github.com/dwango/S99/pull/33#discussion_r61059896","pull_request_url":"https://api.github.com/repos/dwango/S99/pulls/33","_links":{"self":{"href":"https://api.github.com/repos/dwango/S99/pulls/comments/61059896"},"html":{"href":"https://github.com/dwango/S99/pull/33#discussion_r61059896"},"pull_request":{"href":"https://api.github.com/repos/dwango/S99/pulls/33"}}},"pull_request":{"url":"https://api.github.com/repos/dwango/S99/pulls/33","id":67843294,"html_url":"https://github.com/dwango/S99/pull/33","diff_url":"https://github.com/dwango/S99/pull/33.diff","patch_url":"https://github.com/dwango/S99/pull/33.patch","issue_url":"https://api.github.com/repos/dwango/S99/issues/33","number":33,"state":"open","locked":false,"title":"Answer and tests for P31","user":{"login":"3tty0n","id":8289812,"avatar_url":"https://avatars.githubusercontent.com/u/8289812?v=3","gravatar_id":"","url":"https://api.github.com/users/3tty0n","html_url":"https://github.com/3tty0n","followers_url":"https://api.github.com/users/3tty0n/followers","following_url":"https://api.github.com/users/3tty0n/following{/other_user}","gists_url":"https://api.github.com/users/3tty0n/gists{/gist_id}","starred_url":"https://api.github.com/users/3tty0n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/3tty0n/subscriptions","organizations_url":"https://api.github.com/users/3tty0n/orgs","repos_url":"https://api.github.com/users/3tty0n/repos","events_url":"https://api.github.com/users/3tty0n/events{/privacy}","received_events_url":"https://api.github.com/users/3tty0n/received_events","type":"User","site_admin":false},"body":"P31\r\n\r\n> (**) Determine whether a given integer number is prime.\r\n\r\nの answer と test を追加しました。","created_at":"2016-04-26T08:12:40Z","updated_at":"2016-04-26T10:02:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7b268fb750a7fddb828448b982f4704d67b44b86","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dwango/S99/pulls/33/commits","review_comments_url":"https://api.github.com/repos/dwango/S99/pulls/33/comments","review_comment_url":"https://api.github.com/repos/dwango/S99/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dwango/S99/issues/33/comments","statuses_url":"https://api.github.com/repos/dwango/S99/statuses/5c32a88017769fbc62e1235f9f7c6e07382b2d3b","head":{"label":"3tty0n:P31","ref":"P31","sha":"5c32a88017769fbc62e1235f9f7c6e07382b2d3b","user":{"login":"3tty0n","id":8289812,"avatar_url":"https://avatars.githubusercontent.com/u/8289812?v=3","gravatar_id":"","url":"https://api.github.com/users/3tty0n","html_url":"https://github.com/3tty0n","followers_url":"https://api.github.com/users/3tty0n/followers","following_url":"https://api.github.com/users/3tty0n/following{/other_user}","gists_url":"https://api.github.com/users/3tty0n/gists{/gist_id}","starred_url":"https://api.github.com/users/3tty0n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/3tty0n/subscriptions","organizations_url":"https://api.github.com/users/3tty0n/orgs","repos_url":"https://api.github.com/users/3tty0n/repos","events_url":"https://api.github.com/users/3tty0n/events{/privacy}","received_events_url":"https://api.github.com/users/3tty0n/received_events","type":"User","site_admin":false},"repo":{"id":57061136,"name":"S99","full_name":"3tty0n/S99","owner":{"login":"3tty0n","id":8289812,"avatar_url":"https://avatars.githubusercontent.com/u/8289812?v=3","gravatar_id":"","url":"https://api.github.com/users/3tty0n","html_url":"https://github.com/3tty0n","followers_url":"https://api.github.com/users/3tty0n/followers","following_url":"https://api.github.com/users/3tty0n/following{/other_user}","gists_url":"https://api.github.com/users/3tty0n/gists{/gist_id}","starred_url":"https://api.github.com/users/3tty0n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/3tty0n/subscriptions","organizations_url":"https://api.github.com/users/3tty0n/orgs","repos_url":"https://api.github.com/users/3tty0n/repos","events_url":"https://api.github.com/users/3tty0n/events{/privacy}","received_events_url":"https://api.github.com/users/3tty0n/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/3tty0n/S99","description":"S99の解答例","fork":true,"url":"https://api.github.com/repos/3tty0n/S99","forks_url":"https://api.github.com/repos/3tty0n/S99/forks","keys_url":"https://api.github.com/repos/3tty0n/S99/keys{/key_id}","collaborators_url":"https://api.github.com/repos/3tty0n/S99/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/3tty0n/S99/teams","hooks_url":"https://api.github.com/repos/3tty0n/S99/hooks","issue_events_url":"https://api.github.com/repos/3tty0n/S99/issues/events{/number}","events_url":"https://api.github.com/repos/3tty0n/S99/events","assignees_url":"https://api.github.com/repos/3tty0n/S99/assignees{/user}","branches_url":"https://api.github.com/repos/3tty0n/S99/branches{/branch}","tags_url":"https://api.github.com/repos/3tty0n/S99/tags","blobs_url":"https://api.github.com/repos/3tty0n/S99/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/3tty0n/S99/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/3tty0n/S99/git/refs{/sha}","trees_url":"https://api.github.com/repos/3tty0n/S99/git/trees{/sha}","statuses_url":"https://api.github.com/repos/3tty0n/S99/statuses/{sha}","languages_url":"https://api.github.com/repos/3tty0n/S99/languages","stargazers_url":"https://api.github.com/repos/3tty0n/S99/stargazers","contributors_url":"https://api.github.com/repos/3tty0n/S99/contributors","subscribers_url":"https://api.github.com/repos/3tty0n/S99/subscribers","subscription_url":"https://api.github.com/repos/3tty0n/S99/subscription","commits_url":"https://api.github.com/repos/3tty0n/S99/commits{/sha}","git_commits_url":"https://api.github.com/repos/3tty0n/S99/git/commits{/sha}","comments_url":"https://api.github.com/repos/3tty0n/S99/comments{/number}","issue_comment_url":"https://api.github.com/repos/3tty0n/S99/issues/comments{/number}","contents_url":"https://api.github.com/repos/3tty0n/S99/contents/{+path}","compare_url":"https://api.github.com/repos/3tty0n/S99/compare/{base}...{head}","merges_url":"https://api.github.com/repos/3tty0n/S99/merges","archive_url":"https://api.github.com/repos/3tty0n/S99/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/3tty0n/S99/downloads","issues_url":"https://api.github.com/repos/3tty0n/S99/issues{/number}","pulls_url":"https://api.github.com/repos/3tty0n/S99/pulls{/number}","milestones_url":"https://api.github.com/repos/3tty0n/S99/milestones{/number}","notifications_url":"https://api.github.com/repos/3tty0n/S99/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/3tty0n/S99/labels{/name}","releases_url":"https://api.github.com/repos/3tty0n/S99/releases{/id}","deployments_url":"https://api.github.com/repos/3tty0n/S99/deployments","created_at":"2016-04-25T17:18:27Z","updated_at":"2016-04-25T17:18:29Z","pushed_at":"2016-04-26T08:39:28Z","git_url":"git://github.com/3tty0n/S99.git","ssh_url":"git@github.com:3tty0n/S99.git","clone_url":"https://github.com/3tty0n/S99.git","svn_url":"https://github.com/3tty0n/S99","homepage":null,"size":65,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"dwango:master","ref":"master","sha":"dffc5219c6fd488ad43b0ed311a98bcc99fd1a1c","user":{"login":"dwango","id":710011,"avatar_url":"https://avatars.githubusercontent.com/u/710011?v=3","gravatar_id":"","url":"https://api.github.com/users/dwango","html_url":"https://github.com/dwango","followers_url":"https://api.github.com/users/dwango/followers","following_url":"https://api.github.com/users/dwango/following{/other_user}","gists_url":"https://api.github.com/users/dwango/gists{/gist_id}","starred_url":"https://api.github.com/users/dwango/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwango/subscriptions","organizations_url":"https://api.github.com/users/dwango/orgs","repos_url":"https://api.github.com/users/dwango/repos","events_url":"https://api.github.com/users/dwango/events{/privacy}","received_events_url":"https://api.github.com/users/dwango/received_events","type":"Organization","site_admin":false},"repo":{"id":54873596,"name":"S99","full_name":"dwango/S99","owner":{"login":"dwango","id":710011,"avatar_url":"https://avatars.githubusercontent.com/u/710011?v=3","gravatar_id":"","url":"https://api.github.com/users/dwango","html_url":"https://github.com/dwango","followers_url":"https://api.github.com/users/dwango/followers","following_url":"https://api.github.com/users/dwango/following{/other_user}","gists_url":"https://api.github.com/users/dwango/gists{/gist_id}","starred_url":"https://api.github.com/users/dwango/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwango/subscriptions","organizations_url":"https://api.github.com/users/dwango/orgs","repos_url":"https://api.github.com/users/dwango/repos","events_url":"https://api.github.com/users/dwango/events{/privacy}","received_events_url":"https://api.github.com/users/dwango/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dwango/S99","description":"S99の解答例","fork":false,"url":"https://api.github.com/repos/dwango/S99","forks_url":"https://api.github.com/repos/dwango/S99/forks","keys_url":"https://api.github.com/repos/dwango/S99/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dwango/S99/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dwango/S99/teams","hooks_url":"https://api.github.com/repos/dwango/S99/hooks","issue_events_url":"https://api.github.com/repos/dwango/S99/issues/events{/number}","events_url":"https://api.github.com/repos/dwango/S99/events","assignees_url":"https://api.github.com/repos/dwango/S99/assignees{/user}","branches_url":"https://api.github.com/repos/dwango/S99/branches{/branch}","tags_url":"https://api.github.com/repos/dwango/S99/tags","blobs_url":"https://api.github.com/repos/dwango/S99/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dwango/S99/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dwango/S99/git/refs{/sha}","trees_url":"https://api.github.com/repos/dwango/S99/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dwango/S99/statuses/{sha}","languages_url":"https://api.github.com/repos/dwango/S99/languages","stargazers_url":"https://api.github.com/repos/dwango/S99/stargazers","contributors_url":"https://api.github.com/repos/dwango/S99/contributors","subscribers_url":"https://api.github.com/repos/dwango/S99/subscribers","subscription_url":"https://api.github.com/repos/dwango/S99/subscription","commits_url":"https://api.github.com/repos/dwango/S99/commits{/sha}","git_commits_url":"https://api.github.com/repos/dwango/S99/git/commits{/sha}","comments_url":"https://api.github.com/repos/dwango/S99/comments{/number}","issue_comment_url":"https://api.github.com/repos/dwango/S99/issues/comments{/number}","contents_url":"https://api.github.com/repos/dwango/S99/contents/{+path}","compare_url":"https://api.github.com/repos/dwango/S99/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dwango/S99/merges","archive_url":"https://api.github.com/repos/dwango/S99/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dwango/S99/downloads","issues_url":"https://api.github.com/repos/dwango/S99/issues{/number}","pulls_url":"https://api.github.com/repos/dwango/S99/pulls{/number}","milestones_url":"https://api.github.com/repos/dwango/S99/milestones{/number}","notifications_url":"https://api.github.com/repos/dwango/S99/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dwango/S99/labels{/name}","releases_url":"https://api.github.com/repos/dwango/S99/releases{/id}","deployments_url":"https://api.github.com/repos/dwango/S99/deployments","created_at":"2016-03-28T07:06:56Z","updated_at":"2016-04-25T17:16:11Z","pushed_at":"2016-04-26T08:39:28Z","git_url":"git://github.com/dwango/S99.git","ssh_url":"git@github.com:dwango/S99.git","clone_url":"https://github.com/dwango/S99.git","svn_url":"https://github.com/dwango/S99","homepage":null,"size":64,"stargazers_count":9,"watchers_count":9,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":1,"forks":6,"open_issues":1,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dwango/S99/pulls/33"},"html":{"href":"https://github.com/dwango/S99/pull/33"},"issue":{"href":"https://api.github.com/repos/dwango/S99/issues/33"},"comments":{"href":"https://api.github.com/repos/dwango/S99/issues/33/comments"},"review_comments":{"href":"https://api.github.com/repos/dwango/S99/pulls/33/comments"},"review_comment":{"href":"https://api.github.com/repos/dwango/S99/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dwango/S99/pulls/33/commits"},"statuses":{"href":"https://api.github.com/repos/dwango/S99/statuses/5c32a88017769fbc62e1235f9f7c6e07382b2d3b"}}}}