{"action":"created","comment":{"url":"https://api.github.com/repos/JAForbes/sum-type/pulls/comments/112805291","pull_request_review_id":34153009,"id":112805291,"diff_hunk":"@@ -31,21 +31,21 @@ function Setup(T, { checkTypes , _env=[] }){\n     }\r\n \r\n     function mapConstrToFn(constr) {\r\n-    return (\r\n-        constr === String\r\n-            ? T.String\r\n-        : constr === Number\r\n-            ? T.Number\r\n-        : constr === Boolean\r\n-            ? T.Boolean\r\n-        : constr === Object\r\n-            ? T.Object\r\n-        : constr === Array\r\n-            ? T.Array(T.Any)\r\n-        : constr === Function\r\n-            ? T.AnyFunction\r\n-        : constr\r\n-    )\r\n+        return (\r\n+            constr === String\r\n+                ? T.String\r\n+            : constr === Number\r\n+                ? T.Number\r\n+            : constr === Boolean\r\n+                ? T.Boolean\r\n+            : constr === Object\r\n+                ? T.Object\r\n+            : constr === Array\r\n+                ? T.Array(T.Any)\r\n+            : constr === Function\r\n+                ? T.AnyFunction\r","path":"lib/index.js","position":31,"original_position":31,"commit_id":"dc8dd3edbb3cdff01fd40883d2c13f4e37a81289","original_commit_id":"dc8dd3edbb3cdff01fd40883d2c13f4e37a81289","user":{"login":"JAForbes","id":2615540,"avatar_url":"https://avatars0.githubusercontent.com/u/2615540?v=3","gravatar_id":"","url":"https://api.github.com/users/JAForbes","html_url":"https://github.com/JAForbes","followers_url":"https://api.github.com/users/JAForbes/followers","following_url":"https://api.github.com/users/JAForbes/following{/other_user}","gists_url":"https://api.github.com/users/JAForbes/gists{/gist_id}","starred_url":"https://api.github.com/users/JAForbes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JAForbes/subscriptions","organizations_url":"https://api.github.com/users/JAForbes/orgs","repos_url":"https://api.github.com/users/JAForbes/repos","events_url":"https://api.github.com/users/JAForbes/events{/privacy}","received_events_url":"https://api.github.com/users/JAForbes/received_events","type":"User","site_admin":false},"body":"Yes.  Probably in a separate PR though.","created_at":"2017-04-22T08:15:12Z","updated_at":"2017-04-22T08:15:12Z","html_url":"https://github.com/JAForbes/sum-type/pull/20#discussion_r112805291","pull_request_url":"https://api.github.com/repos/JAForbes/sum-type/pulls/20","_links":{"self":{"href":"https://api.github.com/repos/JAForbes/sum-type/pulls/comments/112805291"},"html":{"href":"https://github.com/JAForbes/sum-type/pull/20#discussion_r112805291"},"pull_request":{"href":"https://api.github.com/repos/JAForbes/sum-type/pulls/20"}}},"pull_request":{"url":"https://api.github.com/repos/JAForbes/sum-type/pulls/20","id":117090490,"html_url":"https://github.com/JAForbes/sum-type/pull/20","diff_url":"https://github.com/JAForbes/sum-type/pull/20.diff","patch_url":"https://github.com/JAForbes/sum-type/pull/20.patch","issue_url":"https://api.github.com/repos/JAForbes/sum-type/issues/20","number":20,"state":"open","locked":false,"title":"WIP: Remove Type.Class and Type.Anon","user":{"login":"JAForbes","id":2615540,"avatar_url":"https://avatars0.githubusercontent.com/u/2615540?v=3","gravatar_id":"","url":"https://api.github.com/users/JAForbes","html_url":"https://github.com/JAForbes","followers_url":"https://api.github.com/users/JAForbes/followers","following_url":"https://api.github.com/users/JAForbes/following{/other_user}","gists_url":"https://api.github.com/users/JAForbes/gists{/gist_id}","starred_url":"https://api.github.com/users/JAForbes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JAForbes/subscriptions","organizations_url":"https://api.github.com/users/JAForbes/orgs","repos_url":"https://api.github.com/users/JAForbes/repos","events_url":"https://api.github.com/users/JAForbes/events{/privacy}","received_events_url":"https://api.github.com/users/JAForbes/received_events","type":"User","site_admin":false},"body":"- Add argument for documentation url.\r\n\r\n#14 ","created_at":"2017-04-22T01:27:09Z","updated_at":"2017-04-22T08:15:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c899c7a1564f53aeb102c1b4521a66c38df138d7","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/JAForbes/sum-type/pulls/20/commits","review_comments_url":"https://api.github.com/repos/JAForbes/sum-type/pulls/20/comments","review_comment_url":"https://api.github.com/repos/JAForbes/sum-type/pulls/comments{/number}","comments_url":"https://api.github.com/repos/JAForbes/sum-type/issues/20/comments","statuses_url":"https://api.github.com/repos/JAForbes/sum-type/statuses/dc8dd3edbb3cdff01fd40883d2c13f4e37a81289","head":{"label":"JAForbes:no-class-or-anon","ref":"no-class-or-anon","sha":"dc8dd3edbb3cdff01fd40883d2c13f4e37a81289","user":{"login":"JAForbes","id":2615540,"avatar_url":"https://avatars0.githubusercontent.com/u/2615540?v=3","gravatar_id":"","url":"https://api.github.com/users/JAForbes","html_url":"https://github.com/JAForbes","followers_url":"https://api.github.com/users/JAForbes/followers","following_url":"https://api.github.com/users/JAForbes/following{/other_user}","gists_url":"https://api.github.com/users/JAForbes/gists{/gist_id}","starred_url":"https://api.github.com/users/JAForbes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JAForbes/subscriptions","organizations_url":"https://api.github.com/users/JAForbes/orgs","repos_url":"https://api.github.com/users/JAForbes/repos","events_url":"https://api.github.com/users/JAForbes/events{/privacy}","received_events_url":"https://api.github.com/users/JAForbes/received_events","type":"User","site_admin":false},"repo":{"id":71885156,"name":"sum-type","full_name":"JAForbes/sum-type","owner":{"login":"JAForbes","id":2615540,"avatar_url":"https://avatars0.githubusercontent.com/u/2615540?v=3","gravatar_id":"","url":"https://api.github.com/users/JAForbes","html_url":"https://github.com/JAForbes","followers_url":"https://api.github.com/users/JAForbes/followers","following_url":"https://api.github.com/users/JAForbes/following{/other_user}","gists_url":"https://api.github.com/users/JAForbes/gists{/gist_id}","starred_url":"https://api.github.com/users/JAForbes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JAForbes/subscriptions","organizations_url":"https://api.github.com/users/JAForbes/orgs","repos_url":"https://api.github.com/users/JAForbes/repos","events_url":"https://api.github.com/users/JAForbes/events{/privacy}","received_events_url":"https://api.github.com/users/JAForbes/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JAForbes/sum-type","description":"UnionType + Sanctuary = Better Error Messages","fork":false,"url":"https://api.github.com/repos/JAForbes/sum-type","forks_url":"https://api.github.com/repos/JAForbes/sum-type/forks","keys_url":"https://api.github.com/repos/JAForbes/sum-type/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JAForbes/sum-type/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JAForbes/sum-type/teams","hooks_url":"https://api.github.com/repos/JAForbes/sum-type/hooks","issue_events_url":"https://api.github.com/repos/JAForbes/sum-type/issues/events{/number}","events_url":"https://api.github.com/repos/JAForbes/sum-type/events","assignees_url":"https://api.github.com/repos/JAForbes/sum-type/assignees{/user}","branches_url":"https://api.github.com/repos/JAForbes/sum-type/branches{/branch}","tags_url":"https://api.github.com/repos/JAForbes/sum-type/tags","blobs_url":"https://api.github.com/repos/JAForbes/sum-type/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JAForbes/sum-type/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JAForbes/sum-type/git/refs{/sha}","trees_url":"https://api.github.com/repos/JAForbes/sum-type/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JAForbes/sum-type/statuses/{sha}","languages_url":"https://api.github.com/repos/JAForbes/sum-type/languages","stargazers_url":"https://api.github.com/repos/JAForbes/sum-type/stargazers","contributors_url":"https://api.github.com/repos/JAForbes/sum-type/contributors","subscribers_url":"https://api.github.com/repos/JAForbes/sum-type/subscribers","subscription_url":"https://api.github.com/repos/JAForbes/sum-type/subscription","commits_url":"https://api.github.com/repos/JAForbes/sum-type/commits{/sha}","git_commits_url":"https://api.github.com/repos/JAForbes/sum-type/git/commits{/sha}","comments_url":"https://api.github.com/repos/JAForbes/sum-type/comments{/number}","issue_comment_url":"https://api.github.com/repos/JAForbes/sum-type/issues/comments{/number}","contents_url":"https://api.github.com/repos/JAForbes/sum-type/contents/{+path}","compare_url":"https://api.github.com/repos/JAForbes/sum-type/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JAForbes/sum-type/merges","archive_url":"https://api.github.com/repos/JAForbes/sum-type/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JAForbes/sum-type/downloads","issues_url":"https://api.github.com/repos/JAForbes/sum-type/issues{/number}","pulls_url":"https://api.github.com/repos/JAForbes/sum-type/pulls{/number}","milestones_url":"https://api.github.com/repos/JAForbes/sum-type/milestones{/number}","notifications_url":"https://api.github.com/repos/JAForbes/sum-type/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JAForbes/sum-type/labels{/name}","releases_url":"https://api.github.com/repos/JAForbes/sum-type/releases{/id}","deployments_url":"https://api.github.com/repos/JAForbes/sum-type/deployments","created_at":"2016-10-25T10:19:06Z","updated_at":"2017-04-09T02:55:04Z","pushed_at":"2017-04-22T01:27:10Z","git_url":"git://github.com/JAForbes/sum-type.git","ssh_url":"git@github.com:JAForbes/sum-type.git","clone_url":"https://github.com/JAForbes/sum-type.git","svn_url":"https://github.com/JAForbes/sum-type","homepage":"","size":79,"stargazers_count":10,"watchers_count":10,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":13,"forks":2,"open_issues":13,"watchers":10,"default_branch":"master"}},"base":{"label":"JAForbes:next-major","ref":"next-major","sha":"5a15f4f9c17216600dba3f6efcfac0cdeb8dd0c0","user":{"login":"JAForbes","id":2615540,"avatar_url":"https://avatars0.githubusercontent.com/u/2615540?v=3","gravatar_id":"","url":"https://api.github.com/users/JAForbes","html_url":"https://github.com/JAForbes","followers_url":"https://api.github.com/users/JAForbes/followers","following_url":"https://api.github.com/users/JAForbes/following{/other_user}","gists_url":"https://api.github.com/users/JAForbes/gists{/gist_id}","starred_url":"https://api.github.com/users/JAForbes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JAForbes/subscriptions","organizations_url":"https://api.github.com/users/JAForbes/orgs","repos_url":"https://api.github.com/users/JAForbes/repos","events_url":"https://api.github.com/users/JAForbes/events{/privacy}","received_events_url":"https://api.github.com/users/JAForbes/received_events","type":"User","site_admin":false},"repo":{"id":71885156,"name":"sum-type","full_name":"JAForbes/sum-type","owner":{"login":"JAForbes","id":2615540,"avatar_url":"https://avatars0.githubusercontent.com/u/2615540?v=3","gravatar_id":"","url":"https://api.github.com/users/JAForbes","html_url":"https://github.com/JAForbes","followers_url":"https://api.github.com/users/JAForbes/followers","following_url":"https://api.github.com/users/JAForbes/following{/other_user}","gists_url":"https://api.github.com/users/JAForbes/gists{/gist_id}","starred_url":"https://api.github.com/users/JAForbes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JAForbes/subscriptions","organizations_url":"https://api.github.com/users/JAForbes/orgs","repos_url":"https://api.github.com/users/JAForbes/repos","events_url":"https://api.github.com/users/JAForbes/events{/privacy}","received_events_url":"https://api.github.com/users/JAForbes/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JAForbes/sum-type","description":"UnionType + Sanctuary = Better Error Messages","fork":false,"url":"https://api.github.com/repos/JAForbes/sum-type","forks_url":"https://api.github.com/repos/JAForbes/sum-type/forks","keys_url":"https://api.github.com/repos/JAForbes/sum-type/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JAForbes/sum-type/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JAForbes/sum-type/teams","hooks_url":"https://api.github.com/repos/JAForbes/sum-type/hooks","issue_events_url":"https://api.github.com/repos/JAForbes/sum-type/issues/events{/number}","events_url":"https://api.github.com/repos/JAForbes/sum-type/events","assignees_url":"https://api.github.com/repos/JAForbes/sum-type/assignees{/user}","branches_url":"https://api.github.com/repos/JAForbes/sum-type/branches{/branch}","tags_url":"https://api.github.com/repos/JAForbes/sum-type/tags","blobs_url":"https://api.github.com/repos/JAForbes/sum-type/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JAForbes/sum-type/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JAForbes/sum-type/git/refs{/sha}","trees_url":"https://api.github.com/repos/JAForbes/sum-type/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JAForbes/sum-type/statuses/{sha}","languages_url":"https://api.github.com/repos/JAForbes/sum-type/languages","stargazers_url":"https://api.github.com/repos/JAForbes/sum-type/stargazers","contributors_url":"https://api.github.com/repos/JAForbes/sum-type/contributors","subscribers_url":"https://api.github.com/repos/JAForbes/sum-type/subscribers","subscription_url":"https://api.github.com/repos/JAForbes/sum-type/subscription","commits_url":"https://api.github.com/repos/JAForbes/sum-type/commits{/sha}","git_commits_url":"https://api.github.com/repos/JAForbes/sum-type/git/commits{/sha}","comments_url":"https://api.github.com/repos/JAForbes/sum-type/comments{/number}","issue_comment_url":"https://api.github.com/repos/JAForbes/sum-type/issues/comments{/number}","contents_url":"https://api.github.com/repos/JAForbes/sum-type/contents/{+path}","compare_url":"https://api.github.com/repos/JAForbes/sum-type/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JAForbes/sum-type/merges","archive_url":"https://api.github.com/repos/JAForbes/sum-type/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JAForbes/sum-type/downloads","issues_url":"https://api.github.com/repos/JAForbes/sum-type/issues{/number}","pulls_url":"https://api.github.com/repos/JAForbes/sum-type/pulls{/number}","milestones_url":"https://api.github.com/repos/JAForbes/sum-type/milestones{/number}","notifications_url":"https://api.github.com/repos/JAForbes/sum-type/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JAForbes/sum-type/labels{/name}","releases_url":"https://api.github.com/repos/JAForbes/sum-type/releases{/id}","deployments_url":"https://api.github.com/repos/JAForbes/sum-type/deployments","created_at":"2016-10-25T10:19:06Z","updated_at":"2017-04-09T02:55:04Z","pushed_at":"2017-04-22T01:27:10Z","git_url":"git://github.com/JAForbes/sum-type.git","ssh_url":"git@github.com:JAForbes/sum-type.git","clone_url":"https://github.com/JAForbes/sum-type.git","svn_url":"https://github.com/JAForbes/sum-type","homepage":"","size":79,"stargazers_count":10,"watchers_count":10,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":13,"forks":2,"open_issues":13,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/JAForbes/sum-type/pulls/20"},"html":{"href":"https://github.com/JAForbes/sum-type/pull/20"},"issue":{"href":"https://api.github.com/repos/JAForbes/sum-type/issues/20"},"comments":{"href":"https://api.github.com/repos/JAForbes/sum-type/issues/20/comments"},"review_comments":{"href":"https://api.github.com/repos/JAForbes/sum-type/pulls/20/comments"},"review_comment":{"href":"https://api.github.com/repos/JAForbes/sum-type/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/JAForbes/sum-type/pulls/20/commits"},"statuses":{"href":"https://api.github.com/repos/JAForbes/sum-type/statuses/dc8dd3edbb3cdff01fd40883d2c13f4e37a81289"}}}}
{"actor":{"display_login":"JAForbes"}}