{"action":"created","comment":{"url":"https://api.github.com/repos/plaid/sanctuary-def/pulls/comments/57308188","id":57308188,"diff_hunk":"@@ -620,21 +639,20 @@\n     );\n   };\n \n-  //  equalTypes :: (Type, Type) -> Boolean\n-  var equalTypes = function equalTypes(t1, t2) {\n+  //  equalTypes :: (Type, Type, Boolean) -> Boolean\n+  var equalTypes = function equalTypes(t1, t2, loose) {\n+    if (t1.type === 'INCONSISTENT' || t2.type === 'INCONSISTENT') return loose;","path":"index.js","position":59,"original_position":59,"commit_id":"570bfa946672b41c5d76e0bf2a6a0876f9aa9ec0","original_commit_id":"570bfa946672b41c5d76e0bf2a6a0876f9aa9ec0","user":{"login":"davidchambers","id":210406,"avatar_url":"https://avatars.githubusercontent.com/u/210406?v=3","gravatar_id":"","url":"https://api.github.com/users/davidchambers","html_url":"https://github.com/davidchambers","followers_url":"https://api.github.com/users/davidchambers/followers","following_url":"https://api.github.com/users/davidchambers/following{/other_user}","gists_url":"https://api.github.com/users/davidchambers/gists{/gist_id}","starred_url":"https://api.github.com/users/davidchambers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidchambers/subscriptions","organizations_url":"https://api.github.com/users/davidchambers/orgs","repos_url":"https://api.github.com/users/davidchambers/repos","events_url":"https://api.github.com/users/davidchambers/events{/privacy}","received_events_url":"https://api.github.com/users/davidchambers/received_events","type":"User","site_admin":false},"body":"We set `loose` to `true` when generating error messages, which allows us to display `['foo', false] :: Array ???` rather than `['foo', false] :: ???`.\r\n","created_at":"2016-03-24T12:13:22Z","updated_at":"2016-03-24T12:13:22Z","html_url":"https://github.com/plaid/sanctuary-def/pull/38#discussion_r57308188","pull_request_url":"https://api.github.com/repos/plaid/sanctuary-def/pulls/38","_links":{"self":{"href":"https://api.github.com/repos/plaid/sanctuary-def/pulls/comments/57308188"},"html":{"href":"https://github.com/plaid/sanctuary-def/pull/38#discussion_r57308188"},"pull_request":{"href":"https://api.github.com/repos/plaid/sanctuary-def/pulls/38"}}},"pull_request":{"url":"https://api.github.com/repos/plaid/sanctuary-def/pulls/38","id":62685666,"html_url":"https://github.com/plaid/sanctuary-def/pull/38","diff_url":"https://github.com/plaid/sanctuary-def/pull/38.diff","patch_url":"https://github.com/plaid/sanctuary-def/pull/38.patch","issue_url":"https://api.github.com/repos/plaid/sanctuary-def/issues/38","number":38,"state":"open","locked":false,"title":"support values of \"foreign\" types","user":{"login":"davidchambers","id":210406,"avatar_url":"https://avatars.githubusercontent.com/u/210406?v=3","gravatar_id":"","url":"https://api.github.com/users/davidchambers","html_url":"https://github.com/davidchambers","followers_url":"https://api.github.com/users/davidchambers/followers","following_url":"https://api.github.com/users/davidchambers/following{/other_user}","gists_url":"https://api.github.com/users/davidchambers/gists{/gist_id}","starred_url":"https://api.github.com/users/davidchambers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidchambers/subscriptions","organizations_url":"https://api.github.com/users/davidchambers/orgs","repos_url":"https://api.github.com/users/davidchambers/repos","events_url":"https://api.github.com/users/davidchambers/events{/privacy}","received_events_url":"https://api.github.com/users/davidchambers/received_events","type":"User","site_admin":false},"body":"See plaid/sanctuary#165\r\n\r\nI'd love a review from @soroushjp or anyone else in the community. :)\r\n","created_at":"2016-03-13T22:21:28Z","updated_at":"2016-03-24T12:13:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9c72b5ee3ff5350887866300b4418001757caf0d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/plaid/sanctuary-def/pulls/38/commits","review_comments_url":"https://api.github.com/repos/plaid/sanctuary-def/pulls/38/comments","review_comment_url":"https://api.github.com/repos/plaid/sanctuary-def/pulls/comments{/number}","comments_url":"https://api.github.com/repos/plaid/sanctuary-def/issues/38/comments","statuses_url":"https://api.github.com/repos/plaid/sanctuary-def/statuses/570bfa946672b41c5d76e0bf2a6a0876f9aa9ec0","head":{"label":"plaid:dc-foreign","ref":"dc-foreign","sha":"570bfa946672b41c5d76e0bf2a6a0876f9aa9ec0","user":{"login":"plaid","id":3579888,"avatar_url":"https://avatars.githubusercontent.com/u/3579888?v=3","gravatar_id":"","url":"https://api.github.com/users/plaid","html_url":"https://github.com/plaid","followers_url":"https://api.github.com/users/plaid/followers","following_url":"https://api.github.com/users/plaid/following{/other_user}","gists_url":"https://api.github.com/users/plaid/gists{/gist_id}","starred_url":"https://api.github.com/users/plaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plaid/subscriptions","organizations_url":"https://api.github.com/users/plaid/orgs","repos_url":"https://api.github.com/users/plaid/repos","events_url":"https://api.github.com/users/plaid/events{/privacy}","received_events_url":"https://api.github.com/users/plaid/received_events","type":"Organization","site_admin":false},"repo":{"id":43796926,"name":"sanctuary-def","full_name":"plaid/sanctuary-def","owner":{"login":"plaid","id":3579888,"avatar_url":"https://avatars.githubusercontent.com/u/3579888?v=3","gravatar_id":"","url":"https://api.github.com/users/plaid","html_url":"https://github.com/plaid","followers_url":"https://api.github.com/users/plaid/followers","following_url":"https://api.github.com/users/plaid/following{/other_user}","gists_url":"https://api.github.com/users/plaid/gists{/gist_id}","starred_url":"https://api.github.com/users/plaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plaid/subscriptions","organizations_url":"https://api.github.com/users/plaid/orgs","repos_url":"https://api.github.com/users/plaid/repos","events_url":"https://api.github.com/users/plaid/events{/privacy}","received_events_url":"https://api.github.com/users/plaid/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/plaid/sanctuary-def","description":":guardsman: Run-time type system for JavaScript","fork":false,"url":"https://api.github.com/repos/plaid/sanctuary-def","forks_url":"https://api.github.com/repos/plaid/sanctuary-def/forks","keys_url":"https://api.github.com/repos/plaid/sanctuary-def/keys{/key_id}","collaborators_url":"https://api.github.com/repos/plaid/sanctuary-def/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/plaid/sanctuary-def/teams","hooks_url":"https://api.github.com/repos/plaid/sanctuary-def/hooks","issue_events_url":"https://api.github.com/repos/plaid/sanctuary-def/issues/events{/number}","events_url":"https://api.github.com/repos/plaid/sanctuary-def/events","assignees_url":"https://api.github.com/repos/plaid/sanctuary-def/assignees{/user}","branches_url":"https://api.github.com/repos/plaid/sanctuary-def/branches{/branch}","tags_url":"https://api.github.com/repos/plaid/sanctuary-def/tags","blobs_url":"https://api.github.com/repos/plaid/sanctuary-def/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/plaid/sanctuary-def/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/plaid/sanctuary-def/git/refs{/sha}","trees_url":"https://api.github.com/repos/plaid/sanctuary-def/git/trees{/sha}","statuses_url":"https://api.github.com/repos/plaid/sanctuary-def/statuses/{sha}","languages_url":"https://api.github.com/repos/plaid/sanctuary-def/languages","stargazers_url":"https://api.github.com/repos/plaid/sanctuary-def/stargazers","contributors_url":"https://api.github.com/repos/plaid/sanctuary-def/contributors","subscribers_url":"https://api.github.com/repos/plaid/sanctuary-def/subscribers","subscription_url":"https://api.github.com/repos/plaid/sanctuary-def/subscription","commits_url":"https://api.github.com/repos/plaid/sanctuary-def/commits{/sha}","git_commits_url":"https://api.github.com/repos/plaid/sanctuary-def/git/commits{/sha}","comments_url":"https://api.github.com/repos/plaid/sanctuary-def/comments{/number}","issue_comment_url":"https://api.github.com/repos/plaid/sanctuary-def/issues/comments{/number}","contents_url":"https://api.github.com/repos/plaid/sanctuary-def/contents/{+path}","compare_url":"https://api.github.com/repos/plaid/sanctuary-def/compare/{base}...{head}","merges_url":"https://api.github.com/repos/plaid/sanctuary-def/merges","archive_url":"https://api.github.com/repos/plaid/sanctuary-def/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/plaid/sanctuary-def/downloads","issues_url":"https://api.github.com/repos/plaid/sanctuary-def/issues{/number}","pulls_url":"https://api.github.com/repos/plaid/sanctuary-def/pulls{/number}","milestones_url":"https://api.github.com/repos/plaid/sanctuary-def/milestones{/number}","notifications_url":"https://api.github.com/repos/plaid/sanctuary-def/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/plaid/sanctuary-def/labels{/name}","releases_url":"https://api.github.com/repos/plaid/sanctuary-def/releases{/id}","deployments_url":"https://api.github.com/repos/plaid/sanctuary-def/deployments","created_at":"2015-10-07T05:29:16Z","updated_at":"2016-03-16T20:32:55Z","pushed_at":"2016-03-24T12:03:24Z","git_url":"git://github.com/plaid/sanctuary-def.git","ssh_url":"git@github.com:plaid/sanctuary-def.git","clone_url":"https://github.com/plaid/sanctuary-def.git","svn_url":"https://github.com/plaid/sanctuary-def","homepage":"","size":77,"stargazers_count":33,"watchers_count":33,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":11,"forks":2,"open_issues":11,"watchers":33,"default_branch":"master"}},"base":{"label":"plaid:master","ref":"master","sha":"e7da3924c7a9c37c23bfe9bc21655fb33dbecb75","user":{"login":"plaid","id":3579888,"avatar_url":"https://avatars.githubusercontent.com/u/3579888?v=3","gravatar_id":"","url":"https://api.github.com/users/plaid","html_url":"https://github.com/plaid","followers_url":"https://api.github.com/users/plaid/followers","following_url":"https://api.github.com/users/plaid/following{/other_user}","gists_url":"https://api.github.com/users/plaid/gists{/gist_id}","starred_url":"https://api.github.com/users/plaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plaid/subscriptions","organizations_url":"https://api.github.com/users/plaid/orgs","repos_url":"https://api.github.com/users/plaid/repos","events_url":"https://api.github.com/users/plaid/events{/privacy}","received_events_url":"https://api.github.com/users/plaid/received_events","type":"Organization","site_admin":false},"repo":{"id":43796926,"name":"sanctuary-def","full_name":"plaid/sanctuary-def","owner":{"login":"plaid","id":3579888,"avatar_url":"https://avatars.githubusercontent.com/u/3579888?v=3","gravatar_id":"","url":"https://api.github.com/users/plaid","html_url":"https://github.com/plaid","followers_url":"https://api.github.com/users/plaid/followers","following_url":"https://api.github.com/users/plaid/following{/other_user}","gists_url":"https://api.github.com/users/plaid/gists{/gist_id}","starred_url":"https://api.github.com/users/plaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plaid/subscriptions","organizations_url":"https://api.github.com/users/plaid/orgs","repos_url":"https://api.github.com/users/plaid/repos","events_url":"https://api.github.com/users/plaid/events{/privacy}","received_events_url":"https://api.github.com/users/plaid/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/plaid/sanctuary-def","description":":guardsman: Run-time type system for JavaScript","fork":false,"url":"https://api.github.com/repos/plaid/sanctuary-def","forks_url":"https://api.github.com/repos/plaid/sanctuary-def/forks","keys_url":"https://api.github.com/repos/plaid/sanctuary-def/keys{/key_id}","collaborators_url":"https://api.github.com/repos/plaid/sanctuary-def/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/plaid/sanctuary-def/teams","hooks_url":"https://api.github.com/repos/plaid/sanctuary-def/hooks","issue_events_url":"https://api.github.com/repos/plaid/sanctuary-def/issues/events{/number}","events_url":"https://api.github.com/repos/plaid/sanctuary-def/events","assignees_url":"https://api.github.com/repos/plaid/sanctuary-def/assignees{/user}","branches_url":"https://api.github.com/repos/plaid/sanctuary-def/branches{/branch}","tags_url":"https://api.github.com/repos/plaid/sanctuary-def/tags","blobs_url":"https://api.github.com/repos/plaid/sanctuary-def/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/plaid/sanctuary-def/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/plaid/sanctuary-def/git/refs{/sha}","trees_url":"https://api.github.com/repos/plaid/sanctuary-def/git/trees{/sha}","statuses_url":"https://api.github.com/repos/plaid/sanctuary-def/statuses/{sha}","languages_url":"https://api.github.com/repos/plaid/sanctuary-def/languages","stargazers_url":"https://api.github.com/repos/plaid/sanctuary-def/stargazers","contributors_url":"https://api.github.com/repos/plaid/sanctuary-def/contributors","subscribers_url":"https://api.github.com/repos/plaid/sanctuary-def/subscribers","subscription_url":"https://api.github.com/repos/plaid/sanctuary-def/subscription","commits_url":"https://api.github.com/repos/plaid/sanctuary-def/commits{/sha}","git_commits_url":"https://api.github.com/repos/plaid/sanctuary-def/git/commits{/sha}","comments_url":"https://api.github.com/repos/plaid/sanctuary-def/comments{/number}","issue_comment_url":"https://api.github.com/repos/plaid/sanctuary-def/issues/comments{/number}","contents_url":"https://api.github.com/repos/plaid/sanctuary-def/contents/{+path}","compare_url":"https://api.github.com/repos/plaid/sanctuary-def/compare/{base}...{head}","merges_url":"https://api.github.com/repos/plaid/sanctuary-def/merges","archive_url":"https://api.github.com/repos/plaid/sanctuary-def/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/plaid/sanctuary-def/downloads","issues_url":"https://api.github.com/repos/plaid/sanctuary-def/issues{/number}","pulls_url":"https://api.github.com/repos/plaid/sanctuary-def/pulls{/number}","milestones_url":"https://api.github.com/repos/plaid/sanctuary-def/milestones{/number}","notifications_url":"https://api.github.com/repos/plaid/sanctuary-def/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/plaid/sanctuary-def/labels{/name}","releases_url":"https://api.github.com/repos/plaid/sanctuary-def/releases{/id}","deployments_url":"https://api.github.com/repos/plaid/sanctuary-def/deployments","created_at":"2015-10-07T05:29:16Z","updated_at":"2016-03-16T20:32:55Z","pushed_at":"2016-03-24T12:03:24Z","git_url":"git://github.com/plaid/sanctuary-def.git","ssh_url":"git@github.com:plaid/sanctuary-def.git","clone_url":"https://github.com/plaid/sanctuary-def.git","svn_url":"https://github.com/plaid/sanctuary-def","homepage":"","size":77,"stargazers_count":33,"watchers_count":33,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":11,"forks":2,"open_issues":11,"watchers":33,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/plaid/sanctuary-def/pulls/38"},"html":{"href":"https://github.com/plaid/sanctuary-def/pull/38"},"issue":{"href":"https://api.github.com/repos/plaid/sanctuary-def/issues/38"},"comments":{"href":"https://api.github.com/repos/plaid/sanctuary-def/issues/38/comments"},"review_comments":{"href":"https://api.github.com/repos/plaid/sanctuary-def/pulls/38/comments"},"review_comment":{"href":"https://api.github.com/repos/plaid/sanctuary-def/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/plaid/sanctuary-def/pulls/38/commits"},"statuses":{"href":"https://api.github.com/repos/plaid/sanctuary-def/statuses/570bfa946672b41c5d76e0bf2a6a0876f9aa9ec0"}}}}