{"action":"created","comment":{"url":"https://api.github.com/repos/google/codeworld/pulls/comments/189452770","pull_request_review_id":121637481,"id":189452770,"diff_hunk":"@@ -449,14 +456,91 @@ picToObj' pic =\n             ptsJS <- pointsToArr pts\n             setProps [(\"points\", ptsJS), (\"smooth\", pToJSVal True)] obj\n             retVal obj\n-        Path cs pts w closed smooth -> do\n-            obj <- init \"path\"\n+        Polygon cs pts -> do\n+            obj <- init \"polygon\"\n             ptsJS <- pointsToArr pts\n             setProps\n                 [ (\"points\", ptsJS)\n                 , (\"width\", pToJSVal w)","path":"codeworld-api/src/CodeWorld/Driver.hs","position":27,"original_position":27,"commit_id":"7edca9e45feec8f30408c89723568f3cc9f9d40e","original_commit_id":"7edca9e45feec8f30408c89723568f3cc9f9d40e","user":{"login":"kammitama5","id":8516378,"avatar_url":"https://avatars2.githubusercontent.com/u/8516378?v=4","gravatar_id":"","url":"https://api.github.com/users/kammitama5","html_url":"https://github.com/kammitama5","followers_url":"https://api.github.com/users/kammitama5/followers","following_url":"https://api.github.com/users/kammitama5/following{/other_user}","gists_url":"https://api.github.com/users/kammitama5/gists{/gist_id}","starred_url":"https://api.github.com/users/kammitama5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kammitama5/subscriptions","organizations_url":"https://api.github.com/users/kammitama5/orgs","repos_url":"https://api.github.com/users/kammitama5/repos","events_url":"https://api.github.com/users/kammitama5/events{/privacy}","received_events_url":"https://api.github.com/users/kammitama5/received_events","type":"User","site_admin":false},"body":"Yes. That's what I was struggling to resolve. I tried putting a literal, but it won't accept literals. The Path found its way back in the constructor because I Ctrl+Z-ed a bit. I've removed it.","created_at":"2018-05-20T06:52:13Z","updated_at":"2018-05-20T06:52:13Z","html_url":"https://github.com/google/codeworld/pull/630#discussion_r189452770","pull_request_url":"https://api.github.com/repos/google/codeworld/pulls/630","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/google/codeworld/pulls/comments/189452770"},"html":{"href":"https://github.com/google/codeworld/pull/630#discussion_r189452770"},"pull_request":{"href":"https://api.github.com/repos/google/codeworld/pulls/630"}},"in_reply_to_id":189452459},"pull_request":{"url":"https://api.github.com/repos/google/codeworld/pulls/630","id":189170156,"html_url":"https://github.com/google/codeworld/pull/630","diff_url":"https://github.com/google/codeworld/pull/630.diff","patch_url":"https://github.com/google/codeworld/pull/630.patch","issue_url":"https://api.github.com/repos/google/codeworld/issues/630","number":630,"state":"open","locked":false,"title":"Start splitting Path into constructors","user":{"login":"kammitama5","id":8516378,"avatar_url":"https://avatars2.githubusercontent.com/u/8516378?v=4","gravatar_id":"","url":"https://api.github.com/users/kammitama5","html_url":"https://github.com/kammitama5","followers_url":"https://api.github.com/users/kammitama5/followers","following_url":"https://api.github.com/users/kammitama5/following{/other_user}","gists_url":"https://api.github.com/users/kammitama5/gists{/gist_id}","starred_url":"https://api.github.com/users/kammitama5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kammitama5/subscriptions","organizations_url":"https://api.github.com/users/kammitama5/orgs","repos_url":"https://api.github.com/users/kammitama5/repos","events_url":"https://api.github.com/users/kammitama5/events{/privacy}","received_events_url":"https://api.github.com/users/kammitama5/received_events","type":"User","site_admin":false},"body":"it type-checked.","created_at":"2018-05-19T04:23:59Z","updated_at":"2018-05-20T06:52:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"587d846e98391a2c7f4afbeaa6afb43aec285a41","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/google/codeworld/pulls/630/commits","review_comments_url":"https://api.github.com/repos/google/codeworld/pulls/630/comments","review_comment_url":"https://api.github.com/repos/google/codeworld/pulls/comments{/number}","comments_url":"https://api.github.com/repos/google/codeworld/issues/630/comments","statuses_url":"https://api.github.com/repos/google/codeworld/statuses/7edca9e45feec8f30408c89723568f3cc9f9d40e","head":{"label":"kammitama5:pathConstructorSplit","ref":"pathConstructorSplit","sha":"7edca9e45feec8f30408c89723568f3cc9f9d40e","user":{"login":"kammitama5","id":8516378,"avatar_url":"https://avatars2.githubusercontent.com/u/8516378?v=4","gravatar_id":"","url":"https://api.github.com/users/kammitama5","html_url":"https://github.com/kammitama5","followers_url":"https://api.github.com/users/kammitama5/followers","following_url":"https://api.github.com/users/kammitama5/following{/other_user}","gists_url":"https://api.github.com/users/kammitama5/gists{/gist_id}","starred_url":"https://api.github.com/users/kammitama5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kammitama5/subscriptions","organizations_url":"https://api.github.com/users/kammitama5/orgs","repos_url":"https://api.github.com/users/kammitama5/repos","events_url":"https://api.github.com/users/kammitama5/events{/privacy}","received_events_url":"https://api.github.com/users/kammitama5/received_events","type":"User","site_admin":false},"repo":{"id":131346981,"name":"codeworld","full_name":"kammitama5/codeworld","owner":{"login":"kammitama5","id":8516378,"avatar_url":"https://avatars2.githubusercontent.com/u/8516378?v=4","gravatar_id":"","url":"https://api.github.com/users/kammitama5","html_url":"https://github.com/kammitama5","followers_url":"https://api.github.com/users/kammitama5/followers","following_url":"https://api.github.com/users/kammitama5/following{/other_user}","gists_url":"https://api.github.com/users/kammitama5/gists{/gist_id}","starred_url":"https://api.github.com/users/kammitama5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kammitama5/subscriptions","organizations_url":"https://api.github.com/users/kammitama5/orgs","repos_url":"https://api.github.com/users/kammitama5/repos","events_url":"https://api.github.com/users/kammitama5/events{/privacy}","received_events_url":"https://api.github.com/users/kammitama5/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kammitama5/codeworld","description":"Educational computer programming environment using Haskell","fork":true,"url":"https://api.github.com/repos/kammitama5/codeworld","forks_url":"https://api.github.com/repos/kammitama5/codeworld/forks","keys_url":"https://api.github.com/repos/kammitama5/codeworld/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kammitama5/codeworld/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kammitama5/codeworld/teams","hooks_url":"https://api.github.com/repos/kammitama5/codeworld/hooks","issue_events_url":"https://api.github.com/repos/kammitama5/codeworld/issues/events{/number}","events_url":"https://api.github.com/repos/kammitama5/codeworld/events","assignees_url":"https://api.github.com/repos/kammitama5/codeworld/assignees{/user}","branches_url":"https://api.github.com/repos/kammitama5/codeworld/branches{/branch}","tags_url":"https://api.github.com/repos/kammitama5/codeworld/tags","blobs_url":"https://api.github.com/repos/kammitama5/codeworld/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kammitama5/codeworld/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kammitama5/codeworld/git/refs{/sha}","trees_url":"https://api.github.com/repos/kammitama5/codeworld/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kammitama5/codeworld/statuses/{sha}","languages_url":"https://api.github.com/repos/kammitama5/codeworld/languages","stargazers_url":"https://api.github.com/repos/kammitama5/codeworld/stargazers","contributors_url":"https://api.github.com/repos/kammitama5/codeworld/contributors","subscribers_url":"https://api.github.com/repos/kammitama5/codeworld/subscribers","subscription_url":"https://api.github.com/repos/kammitama5/codeworld/subscription","commits_url":"https://api.github.com/repos/kammitama5/codeworld/commits{/sha}","git_commits_url":"https://api.github.com/repos/kammitama5/codeworld/git/commits{/sha}","comments_url":"https://api.github.com/repos/kammitama5/codeworld/comments{/number}","issue_comment_url":"https://api.github.com/repos/kammitama5/codeworld/issues/comments{/number}","contents_url":"https://api.github.com/repos/kammitama5/codeworld/contents/{+path}","compare_url":"https://api.github.com/repos/kammitama5/codeworld/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kammitama5/codeworld/merges","archive_url":"https://api.github.com/repos/kammitama5/codeworld/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kammitama5/codeworld/downloads","issues_url":"https://api.github.com/repos/kammitama5/codeworld/issues{/number}","pulls_url":"https://api.github.com/repos/kammitama5/codeworld/pulls{/number}","milestones_url":"https://api.github.com/repos/kammitama5/codeworld/milestones{/number}","notifications_url":"https://api.github.com/repos/kammitama5/codeworld/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kammitama5/codeworld/labels{/name}","releases_url":"https://api.github.com/repos/kammitama5/codeworld/releases{/id}","deployments_url":"https://api.github.com/repos/kammitama5/codeworld/deployments","created_at":"2018-04-27T21:35:09Z","updated_at":"2018-05-18T06:21:50Z","pushed_at":"2018-05-20T05:31:34Z","git_url":"git://github.com/kammitama5/codeworld.git","ssh_url":"git@github.com:kammitama5/codeworld.git","clone_url":"https://github.com/kammitama5/codeworld.git","svn_url":"https://github.com/kammitama5/codeworld","homepage":"http://code.world","size":2609,"stargazers_count":0,"watchers_count":0,"language":"Haskell","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"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"google:master","ref":"master","sha":"e54c7f7b5fead586358ba303fc3da8cda06bc259","user":{"login":"google","id":1342004,"avatar_url":"https://avatars1.githubusercontent.com/u/1342004?v=4","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"repo":{"id":21016984,"name":"codeworld","full_name":"google/codeworld","owner":{"login":"google","id":1342004,"avatar_url":"https://avatars1.githubusercontent.com/u/1342004?v=4","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/google/codeworld","description":"Educational computer programming environment using Haskell","fork":false,"url":"https://api.github.com/repos/google/codeworld","forks_url":"https://api.github.com/repos/google/codeworld/forks","keys_url":"https://api.github.com/repos/google/codeworld/keys{/key_id}","collaborators_url":"https://api.github.com/repos/google/codeworld/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/google/codeworld/teams","hooks_url":"https://api.github.com/repos/google/codeworld/hooks","issue_events_url":"https://api.github.com/repos/google/codeworld/issues/events{/number}","events_url":"https://api.github.com/repos/google/codeworld/events","assignees_url":"https://api.github.com/repos/google/codeworld/assignees{/user}","branches_url":"https://api.github.com/repos/google/codeworld/branches{/branch}","tags_url":"https://api.github.com/repos/google/codeworld/tags","blobs_url":"https://api.github.com/repos/google/codeworld/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/google/codeworld/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/google/codeworld/git/refs{/sha}","trees_url":"https://api.github.com/repos/google/codeworld/git/trees{/sha}","statuses_url":"https://api.github.com/repos/google/codeworld/statuses/{sha}","languages_url":"https://api.github.com/repos/google/codeworld/languages","stargazers_url":"https://api.github.com/repos/google/codeworld/stargazers","contributors_url":"https://api.github.com/repos/google/codeworld/contributors","subscribers_url":"https://api.github.com/repos/google/codeworld/subscribers","subscription_url":"https://api.github.com/repos/google/codeworld/subscription","commits_url":"https://api.github.com/repos/google/codeworld/commits{/sha}","git_commits_url":"https://api.github.com/repos/google/codeworld/git/commits{/sha}","comments_url":"https://api.github.com/repos/google/codeworld/comments{/number}","issue_comment_url":"https://api.github.com/repos/google/codeworld/issues/comments{/number}","contents_url":"https://api.github.com/repos/google/codeworld/contents/{+path}","compare_url":"https://api.github.com/repos/google/codeworld/compare/{base}...{head}","merges_url":"https://api.github.com/repos/google/codeworld/merges","archive_url":"https://api.github.com/repos/google/codeworld/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/google/codeworld/downloads","issues_url":"https://api.github.com/repos/google/codeworld/issues{/number}","pulls_url":"https://api.github.com/repos/google/codeworld/pulls{/number}","milestones_url":"https://api.github.com/repos/google/codeworld/milestones{/number}","notifications_url":"https://api.github.com/repos/google/codeworld/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/google/codeworld/labels{/name}","releases_url":"https://api.github.com/repos/google/codeworld/releases{/id}","deployments_url":"https://api.github.com/repos/google/codeworld/deployments","created_at":"2014-06-19T21:56:15Z","updated_at":"2018-05-20T03:54:36Z","pushed_at":"2018-05-20T05:31:34Z","git_url":"git://github.com/google/codeworld.git","ssh_url":"git@github.com:google/codeworld.git","clone_url":"https://github.com/google/codeworld.git","svn_url":"https://github.com/google/codeworld","homepage":"http://code.world","size":3122,"stargazers_count":762,"watchers_count":762,"language":"Haskell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":110,"mirror_url":null,"archived":false,"open_issues_count":185,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":110,"open_issues":185,"watchers":762,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/google/codeworld/pulls/630"},"html":{"href":"https://github.com/google/codeworld/pull/630"},"issue":{"href":"https://api.github.com/repos/google/codeworld/issues/630"},"comments":{"href":"https://api.github.com/repos/google/codeworld/issues/630/comments"},"review_comments":{"href":"https://api.github.com/repos/google/codeworld/pulls/630/comments"},"review_comment":{"href":"https://api.github.com/repos/google/codeworld/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/google/codeworld/pulls/630/commits"},"statuses":{"href":"https://api.github.com/repos/google/codeworld/statuses/7edca9e45feec8f30408c89723568f3cc9f9d40e"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"kammitama5"}}