{"action":"created","comment":{"url":"https://api.github.com/repos/purescript/purescript-foreign/pulls/comments/82826383","pull_request_review_id":3706290,"id":82826383,"diff_hunk":"@@ -68,20 +69,18 @@ renderForeignError (ForeignError msg) = msg\n renderForeignError (ErrorAtIndex i e) = \"Error at array index \" <> show i <> \": \" <> show e\n renderForeignError (ErrorAtProperty prop e) = \"Error at property \" <> show prop <> \": \" <> show e\n renderForeignError (JSONError s) = \"JSON error: \" <> s\n-renderForeignError (TypeMismatch exps act) = \"Type mismatch: expected \" <> listTypes exps <> \", found \" <> act\n-  where\n-  listTypes (NE.NonEmpty typ []) = typ\n-  listTypes typs = \"one of \" <> joinWith \", \" (NE.oneOf typs)\n+renderForeignError (TypeMismatch exp act) = \"Type mismatch: expected \" <> exp <> \", found \" <> act\n \n--- | An error monad, used in this library to encode possible failure when\n+-- | An error monad, used in this library to encode possible failures when\n -- | dealing with foreign data.\n-type F = Either ForeignError\n+type F = Either (NE.NonEmpty List ForeignError)","path":"src/Data/Foreign.purs","position":null,"original_position":35,"commit_id":"8de0a35198d49c79f07f871b3cbba0951d4bfe94","original_commit_id":"8de0a35198d49c79f07f871b3cbba0951d4bfe94","user":{"login":"paf31","id":630306,"avatar_url":"https://avatars.githubusercontent.com/u/630306?v=3","gravatar_id":"","url":"https://api.github.com/users/paf31","html_url":"https://github.com/paf31","followers_url":"https://api.github.com/users/paf31/followers","following_url":"https://api.github.com/users/paf31/following{/other_user}","gists_url":"https://api.github.com/users/paf31/gists{/gist_id}","starred_url":"https://api.github.com/users/paf31/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paf31/subscriptions","organizations_url":"https://api.github.com/users/paf31/orgs","repos_url":"https://api.github.com/users/paf31/repos","events_url":"https://api.github.com/users/paf31/events{/privacy}","received_events_url":"https://api.github.com/users/paf31/received_events","type":"User","site_admin":false},"body":"Can this use `Except` so that we get the right `Alt` instance?","created_at":"2016-10-11T15:55:58Z","updated_at":"2016-10-11T15:55:58Z","html_url":"https://github.com/purescript/purescript-foreign/pull/46#discussion_r82826383","pull_request_url":"https://api.github.com/repos/purescript/purescript-foreign/pulls/46","_links":{"self":{"href":"https://api.github.com/repos/purescript/purescript-foreign/pulls/comments/82826383"},"html":{"href":"https://github.com/purescript/purescript-foreign/pull/46#discussion_r82826383"},"pull_request":{"href":"https://api.github.com/repos/purescript/purescript-foreign/pulls/46"}}},"pull_request":{"url":"https://api.github.com/repos/purescript/purescript-foreign/pulls/46","id":88726540,"html_url":"https://github.com/purescript/purescript-foreign/pull/46","diff_url":"https://github.com/purescript/purescript-foreign/pull/46.diff","patch_url":"https://github.com/purescript/purescript-foreign/pull/46.patch","issue_url":"https://api.github.com/repos/purescript/purescript-foreign/issues/46","number":46,"state":"open","locked":false,"title":"Prepare for 2.0 release","user":{"login":"garyb","id":693642,"avatar_url":"https://avatars.githubusercontent.com/u/693642?v=3","gravatar_id":"","url":"https://api.github.com/users/garyb","html_url":"https://github.com/garyb","followers_url":"https://api.github.com/users/garyb/followers","following_url":"https://api.github.com/users/garyb/following{/other_user}","gists_url":"https://api.github.com/users/garyb/gists{/gist_id}","starred_url":"https://api.github.com/users/garyb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garyb/subscriptions","organizations_url":"https://api.github.com/users/garyb/orgs","repos_url":"https://api.github.com/users/garyb/repos","events_url":"https://api.github.com/users/garyb/events{/privacy}","received_events_url":"https://api.github.com/users/garyb/received_events","type":"User","site_admin":false},"body":"Resolves #37, resolves #41","created_at":"2016-10-10T20:35:04Z","updated_at":"2016-10-11T15:55:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3d969cd786517c0e8983db8e6b7a2aa87cf31d5f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/purescript/purescript-foreign/pulls/46/commits","review_comments_url":"https://api.github.com/repos/purescript/purescript-foreign/pulls/46/comments","review_comment_url":"https://api.github.com/repos/purescript/purescript-foreign/pulls/comments{/number}","comments_url":"https://api.github.com/repos/purescript/purescript-foreign/issues/46/comments","statuses_url":"https://api.github.com/repos/purescript/purescript-foreign/statuses/8de0a35198d49c79f07f871b3cbba0951d4bfe94","head":{"label":"purescript:bump","ref":"bump","sha":"8de0a35198d49c79f07f871b3cbba0951d4bfe94","user":{"login":"purescript","id":6556677,"avatar_url":"https://avatars.githubusercontent.com/u/6556677?v=3","gravatar_id":"","url":"https://api.github.com/users/purescript","html_url":"https://github.com/purescript","followers_url":"https://api.github.com/users/purescript/followers","following_url":"https://api.github.com/users/purescript/following{/other_user}","gists_url":"https://api.github.com/users/purescript/gists{/gist_id}","starred_url":"https://api.github.com/users/purescript/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/purescript/subscriptions","organizations_url":"https://api.github.com/users/purescript/orgs","repos_url":"https://api.github.com/users/purescript/repos","events_url":"https://api.github.com/users/purescript/events{/privacy}","received_events_url":"https://api.github.com/users/purescript/received_events","type":"Organization","site_admin":false},"repo":{"id":16713397,"name":"purescript-foreign","full_name":"purescript/purescript-foreign","owner":{"login":"purescript","id":6556677,"avatar_url":"https://avatars.githubusercontent.com/u/6556677?v=3","gravatar_id":"","url":"https://api.github.com/users/purescript","html_url":"https://github.com/purescript","followers_url":"https://api.github.com/users/purescript/followers","following_url":"https://api.github.com/users/purescript/following{/other_user}","gists_url":"https://api.github.com/users/purescript/gists{/gist_id}","starred_url":"https://api.github.com/users/purescript/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/purescript/subscriptions","organizations_url":"https://api.github.com/users/purescript/orgs","repos_url":"https://api.github.com/users/purescript/repos","events_url":"https://api.github.com/users/purescript/events{/privacy}","received_events_url":"https://api.github.com/users/purescript/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/purescript/purescript-foreign","description":"Library for dealing with foreign data (JavaScript objects) in PureScript","fork":false,"url":"https://api.github.com/repos/purescript/purescript-foreign","forks_url":"https://api.github.com/repos/purescript/purescript-foreign/forks","keys_url":"https://api.github.com/repos/purescript/purescript-foreign/keys{/key_id}","collaborators_url":"https://api.github.com/repos/purescript/purescript-foreign/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/purescript/purescript-foreign/teams","hooks_url":"https://api.github.com/repos/purescript/purescript-foreign/hooks","issue_events_url":"https://api.github.com/repos/purescript/purescript-foreign/issues/events{/number}","events_url":"https://api.github.com/repos/purescript/purescript-foreign/events","assignees_url":"https://api.github.com/repos/purescript/purescript-foreign/assignees{/user}","branches_url":"https://api.github.com/repos/purescript/purescript-foreign/branches{/branch}","tags_url":"https://api.github.com/repos/purescript/purescript-foreign/tags","blobs_url":"https://api.github.com/repos/purescript/purescript-foreign/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/purescript/purescript-foreign/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/purescript/purescript-foreign/git/refs{/sha}","trees_url":"https://api.github.com/repos/purescript/purescript-foreign/git/trees{/sha}","statuses_url":"https://api.github.com/repos/purescript/purescript-foreign/statuses/{sha}","languages_url":"https://api.github.com/repos/purescript/purescript-foreign/languages","stargazers_url":"https://api.github.com/repos/purescript/purescript-foreign/stargazers","contributors_url":"https://api.github.com/repos/purescript/purescript-foreign/contributors","subscribers_url":"https://api.github.com/repos/purescript/purescript-foreign/subscribers","subscription_url":"https://api.github.com/repos/purescript/purescript-foreign/subscription","commits_url":"https://api.github.com/repos/purescript/purescript-foreign/commits{/sha}","git_commits_url":"https://api.github.com/repos/purescript/purescript-foreign/git/commits{/sha}","comments_url":"https://api.github.com/repos/purescript/purescript-foreign/comments{/number}","issue_comment_url":"https://api.github.com/repos/purescript/purescript-foreign/issues/comments{/number}","contents_url":"https://api.github.com/repos/purescript/purescript-foreign/contents/{+path}","compare_url":"https://api.github.com/repos/purescript/purescript-foreign/compare/{base}...{head}","merges_url":"https://api.github.com/repos/purescript/purescript-foreign/merges","archive_url":"https://api.github.com/repos/purescript/purescript-foreign/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/purescript/purescript-foreign/downloads","issues_url":"https://api.github.com/repos/purescript/purescript-foreign/issues{/number}","pulls_url":"https://api.github.com/repos/purescript/purescript-foreign/pulls{/number}","milestones_url":"https://api.github.com/repos/purescript/purescript-foreign/milestones{/number}","notifications_url":"https://api.github.com/repos/purescript/purescript-foreign/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/purescript/purescript-foreign/labels{/name}","releases_url":"https://api.github.com/repos/purescript/purescript-foreign/releases{/id}","deployments_url":"https://api.github.com/repos/purescript/purescript-foreign/deployments","created_at":"2014-02-10T23:49:28Z","updated_at":"2016-09-03T14:39:47Z","pushed_at":"2016-10-11T10:26:29Z","git_url":"git://github.com/purescript/purescript-foreign.git","ssh_url":"git@github.com:purescript/purescript-foreign.git","clone_url":"https://github.com/purescript/purescript-foreign.git","svn_url":"https://github.com/purescript/purescript-foreign","homepage":"","size":144,"stargazers_count":22,"watchers_count":22,"language":"PureScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":19,"mirror_url":null,"open_issues_count":3,"forks":19,"open_issues":3,"watchers":22,"default_branch":"master"}},"base":{"label":"purescript:master","ref":"master","sha":"6dfb111059e63b16e99bfcd8613e87469b12249c","user":{"login":"purescript","id":6556677,"avatar_url":"https://avatars.githubusercontent.com/u/6556677?v=3","gravatar_id":"","url":"https://api.github.com/users/purescript","html_url":"https://github.com/purescript","followers_url":"https://api.github.com/users/purescript/followers","following_url":"https://api.github.com/users/purescript/following{/other_user}","gists_url":"https://api.github.com/users/purescript/gists{/gist_id}","starred_url":"https://api.github.com/users/purescript/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/purescript/subscriptions","organizations_url":"https://api.github.com/users/purescript/orgs","repos_url":"https://api.github.com/users/purescript/repos","events_url":"https://api.github.com/users/purescript/events{/privacy}","received_events_url":"https://api.github.com/users/purescript/received_events","type":"Organization","site_admin":false},"repo":{"id":16713397,"name":"purescript-foreign","full_name":"purescript/purescript-foreign","owner":{"login":"purescript","id":6556677,"avatar_url":"https://avatars.githubusercontent.com/u/6556677?v=3","gravatar_id":"","url":"https://api.github.com/users/purescript","html_url":"https://github.com/purescript","followers_url":"https://api.github.com/users/purescript/followers","following_url":"https://api.github.com/users/purescript/following{/other_user}","gists_url":"https://api.github.com/users/purescript/gists{/gist_id}","starred_url":"https://api.github.com/users/purescript/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/purescript/subscriptions","organizations_url":"https://api.github.com/users/purescript/orgs","repos_url":"https://api.github.com/users/purescript/repos","events_url":"https://api.github.com/users/purescript/events{/privacy}","received_events_url":"https://api.github.com/users/purescript/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/purescript/purescript-foreign","description":"Library for dealing with foreign data (JavaScript objects) in PureScript","fork":false,"url":"https://api.github.com/repos/purescript/purescript-foreign","forks_url":"https://api.github.com/repos/purescript/purescript-foreign/forks","keys_url":"https://api.github.com/repos/purescript/purescript-foreign/keys{/key_id}","collaborators_url":"https://api.github.com/repos/purescript/purescript-foreign/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/purescript/purescript-foreign/teams","hooks_url":"https://api.github.com/repos/purescript/purescript-foreign/hooks","issue_events_url":"https://api.github.com/repos/purescript/purescript-foreign/issues/events{/number}","events_url":"https://api.github.com/repos/purescript/purescript-foreign/events","assignees_url":"https://api.github.com/repos/purescript/purescript-foreign/assignees{/user}","branches_url":"https://api.github.com/repos/purescript/purescript-foreign/branches{/branch}","tags_url":"https://api.github.com/repos/purescript/purescript-foreign/tags","blobs_url":"https://api.github.com/repos/purescript/purescript-foreign/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/purescript/purescript-foreign/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/purescript/purescript-foreign/git/refs{/sha}","trees_url":"https://api.github.com/repos/purescript/purescript-foreign/git/trees{/sha}","statuses_url":"https://api.github.com/repos/purescript/purescript-foreign/statuses/{sha}","languages_url":"https://api.github.com/repos/purescript/purescript-foreign/languages","stargazers_url":"https://api.github.com/repos/purescript/purescript-foreign/stargazers","contributors_url":"https://api.github.com/repos/purescript/purescript-foreign/contributors","subscribers_url":"https://api.github.com/repos/purescript/purescript-foreign/subscribers","subscription_url":"https://api.github.com/repos/purescript/purescript-foreign/subscription","commits_url":"https://api.github.com/repos/purescript/purescript-foreign/commits{/sha}","git_commits_url":"https://api.github.com/repos/purescript/purescript-foreign/git/commits{/sha}","comments_url":"https://api.github.com/repos/purescript/purescript-foreign/comments{/number}","issue_comment_url":"https://api.github.com/repos/purescript/purescript-foreign/issues/comments{/number}","contents_url":"https://api.github.com/repos/purescript/purescript-foreign/contents/{+path}","compare_url":"https://api.github.com/repos/purescript/purescript-foreign/compare/{base}...{head}","merges_url":"https://api.github.com/repos/purescript/purescript-foreign/merges","archive_url":"https://api.github.com/repos/purescript/purescript-foreign/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/purescript/purescript-foreign/downloads","issues_url":"https://api.github.com/repos/purescript/purescript-foreign/issues{/number}","pulls_url":"https://api.github.com/repos/purescript/purescript-foreign/pulls{/number}","milestones_url":"https://api.github.com/repos/purescript/purescript-foreign/milestones{/number}","notifications_url":"https://api.github.com/repos/purescript/purescript-foreign/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/purescript/purescript-foreign/labels{/name}","releases_url":"https://api.github.com/repos/purescript/purescript-foreign/releases{/id}","deployments_url":"https://api.github.com/repos/purescript/purescript-foreign/deployments","created_at":"2014-02-10T23:49:28Z","updated_at":"2016-09-03T14:39:47Z","pushed_at":"2016-10-11T10:26:29Z","git_url":"git://github.com/purescript/purescript-foreign.git","ssh_url":"git@github.com:purescript/purescript-foreign.git","clone_url":"https://github.com/purescript/purescript-foreign.git","svn_url":"https://github.com/purescript/purescript-foreign","homepage":"","size":144,"stargazers_count":22,"watchers_count":22,"language":"PureScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":19,"mirror_url":null,"open_issues_count":3,"forks":19,"open_issues":3,"watchers":22,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/purescript/purescript-foreign/pulls/46"},"html":{"href":"https://github.com/purescript/purescript-foreign/pull/46"},"issue":{"href":"https://api.github.com/repos/purescript/purescript-foreign/issues/46"},"comments":{"href":"https://api.github.com/repos/purescript/purescript-foreign/issues/46/comments"},"review_comments":{"href":"https://api.github.com/repos/purescript/purescript-foreign/pulls/46/comments"},"review_comment":{"href":"https://api.github.com/repos/purescript/purescript-foreign/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/purescript/purescript-foreign/pulls/46/commits"},"statuses":{"href":"https://api.github.com/repos/purescript/purescript-foreign/statuses/8de0a35198d49c79f07f871b3cbba0951d4bfe94"}}}}
{"actor":{"display_login":"paf31"}}