{"action":"opened","number":2,"pull_request":{"url":"https://api.github.com/repos/ekmett/perhaps/pulls/2","id":184850838,"html_url":"https://github.com/ekmett/perhaps/pull/2","diff_url":"https://github.com/ekmett/perhaps/pull/2.diff","patch_url":"https://github.com/ekmett/perhaps/pull/2.patch","issue_url":"https://api.github.com/repos/ekmett/perhaps/issues/2","number":2,"state":"open","locked":false,"title":"Add Comonad instance for Perhaps","user":{"login":"Taneb","id":1901799,"avatar_url":"https://avatars0.githubusercontent.com/u/1901799?v=4","gravatar_id":"","url":"https://api.github.com/users/Taneb","html_url":"https://github.com/Taneb","followers_url":"https://api.github.com/users/Taneb/followers","following_url":"https://api.github.com/users/Taneb/following{/other_user}","gists_url":"https://api.github.com/users/Taneb/gists{/gist_id}","starred_url":"https://api.github.com/users/Taneb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Taneb/subscriptions","organizations_url":"https://api.github.com/users/Taneb/orgs","repos_url":"https://api.github.com/users/Taneb/repos","events_url":"https://api.github.com/users/Taneb/events{/privacy}","received_events_url":"https://api.github.com/users/Taneb/received_events","type":"User","site_admin":false},"body":"While law-abiding in a fast-and-loose sense (we definitely don't have a value of type Void! Everything is fine!) I'll admit that this may be contrary to the intention of the package.\r\n\r\nWhat inspired me to make this is noting that Perhaps is isomorphic to the sum of the identity and void functors.\r\n\r\n```haskell\r\ndata VoidF a\r\n\r\nPerhaps ~ Sum Identity VoidF\r\n```","created_at":"2018-04-29T19:42:57Z","updated_at":"2018-04-29T19:42:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ekmett/perhaps/pulls/2/commits","review_comments_url":"https://api.github.com/repos/ekmett/perhaps/pulls/2/comments","review_comment_url":"https://api.github.com/repos/ekmett/perhaps/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ekmett/perhaps/issues/2/comments","statuses_url":"https://api.github.com/repos/ekmett/perhaps/statuses/8f036730c6135f32309e02e8a8547b1886efe98f","head":{"label":"Taneb:master","ref":"master","sha":"8f036730c6135f32309e02e8a8547b1886efe98f","user":{"login":"Taneb","id":1901799,"avatar_url":"https://avatars0.githubusercontent.com/u/1901799?v=4","gravatar_id":"","url":"https://api.github.com/users/Taneb","html_url":"https://github.com/Taneb","followers_url":"https://api.github.com/users/Taneb/followers","following_url":"https://api.github.com/users/Taneb/following{/other_user}","gists_url":"https://api.github.com/users/Taneb/gists{/gist_id}","starred_url":"https://api.github.com/users/Taneb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Taneb/subscriptions","organizations_url":"https://api.github.com/users/Taneb/orgs","repos_url":"https://api.github.com/users/Taneb/repos","events_url":"https://api.github.com/users/Taneb/events{/privacy}","received_events_url":"https://api.github.com/users/Taneb/received_events","type":"User","site_admin":false},"repo":{"id":131523849,"name":"perhaps","full_name":"Taneb/perhaps","owner":{"login":"Taneb","id":1901799,"avatar_url":"https://avatars0.githubusercontent.com/u/1901799?v=4","gravatar_id":"","url":"https://api.github.com/users/Taneb","html_url":"https://github.com/Taneb","followers_url":"https://api.github.com/users/Taneb/followers","following_url":"https://api.github.com/users/Taneb/following{/other_user}","gists_url":"https://api.github.com/users/Taneb/gists{/gist_id}","starred_url":"https://api.github.com/users/Taneb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Taneb/subscriptions","organizations_url":"https://api.github.com/users/Taneb/orgs","repos_url":"https://api.github.com/users/Taneb/repos","events_url":"https://api.github.com/users/Taneb/events{/privacy}","received_events_url":"https://api.github.com/users/Taneb/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Taneb/perhaps","description":"A monad, perhaps.","fork":true,"url":"https://api.github.com/repos/Taneb/perhaps","forks_url":"https://api.github.com/repos/Taneb/perhaps/forks","keys_url":"https://api.github.com/repos/Taneb/perhaps/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Taneb/perhaps/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Taneb/perhaps/teams","hooks_url":"https://api.github.com/repos/Taneb/perhaps/hooks","issue_events_url":"https://api.github.com/repos/Taneb/perhaps/issues/events{/number}","events_url":"https://api.github.com/repos/Taneb/perhaps/events","assignees_url":"https://api.github.com/repos/Taneb/perhaps/assignees{/user}","branches_url":"https://api.github.com/repos/Taneb/perhaps/branches{/branch}","tags_url":"https://api.github.com/repos/Taneb/perhaps/tags","blobs_url":"https://api.github.com/repos/Taneb/perhaps/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Taneb/perhaps/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Taneb/perhaps/git/refs{/sha}","trees_url":"https://api.github.com/repos/Taneb/perhaps/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Taneb/perhaps/statuses/{sha}","languages_url":"https://api.github.com/repos/Taneb/perhaps/languages","stargazers_url":"https://api.github.com/repos/Taneb/perhaps/stargazers","contributors_url":"https://api.github.com/repos/Taneb/perhaps/contributors","subscribers_url":"https://api.github.com/repos/Taneb/perhaps/subscribers","subscription_url":"https://api.github.com/repos/Taneb/perhaps/subscription","commits_url":"https://api.github.com/repos/Taneb/perhaps/commits{/sha}","git_commits_url":"https://api.github.com/repos/Taneb/perhaps/git/commits{/sha}","comments_url":"https://api.github.com/repos/Taneb/perhaps/comments{/number}","issue_comment_url":"https://api.github.com/repos/Taneb/perhaps/issues/comments{/number}","contents_url":"https://api.github.com/repos/Taneb/perhaps/contents/{+path}","compare_url":"https://api.github.com/repos/Taneb/perhaps/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Taneb/perhaps/merges","archive_url":"https://api.github.com/repos/Taneb/perhaps/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Taneb/perhaps/downloads","issues_url":"https://api.github.com/repos/Taneb/perhaps/issues{/number}","pulls_url":"https://api.github.com/repos/Taneb/perhaps/pulls{/number}","milestones_url":"https://api.github.com/repos/Taneb/perhaps/milestones{/number}","notifications_url":"https://api.github.com/repos/Taneb/perhaps/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Taneb/perhaps/labels{/name}","releases_url":"https://api.github.com/repos/Taneb/perhaps/releases{/id}","deployments_url":"https://api.github.com/repos/Taneb/perhaps/deployments","created_at":"2018-04-29T19:36:27Z","updated_at":"2018-04-29T19:38:50Z","pushed_at":"2018-04-29T19:38:48Z","git_url":"git://github.com/Taneb/perhaps.git","ssh_url":"git@github.com:Taneb/perhaps.git","clone_url":"https://github.com/Taneb/perhaps.git","svn_url":"https://github.com/Taneb/perhaps","homepage":"http://ekmett.github.io/perhaps","size":93,"stargazers_count":0,"watchers_count":0,"language":"Haskell","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ekmett:master","ref":"master","sha":"8035bf828f7609c5ddb5eed8364253a335e7bcba","user":{"login":"ekmett","id":304657,"avatar_url":"https://avatars3.githubusercontent.com/u/304657?v=4","gravatar_id":"","url":"https://api.github.com/users/ekmett","html_url":"https://github.com/ekmett","followers_url":"https://api.github.com/users/ekmett/followers","following_url":"https://api.github.com/users/ekmett/following{/other_user}","gists_url":"https://api.github.com/users/ekmett/gists{/gist_id}","starred_url":"https://api.github.com/users/ekmett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ekmett/subscriptions","organizations_url":"https://api.github.com/users/ekmett/orgs","repos_url":"https://api.github.com/users/ekmett/repos","events_url":"https://api.github.com/users/ekmett/events{/privacy}","received_events_url":"https://api.github.com/users/ekmett/received_events","type":"User","site_admin":false},"repo":{"id":130786308,"name":"perhaps","full_name":"ekmett/perhaps","owner":{"login":"ekmett","id":304657,"avatar_url":"https://avatars3.githubusercontent.com/u/304657?v=4","gravatar_id":"","url":"https://api.github.com/users/ekmett","html_url":"https://github.com/ekmett","followers_url":"https://api.github.com/users/ekmett/followers","following_url":"https://api.github.com/users/ekmett/following{/other_user}","gists_url":"https://api.github.com/users/ekmett/gists{/gist_id}","starred_url":"https://api.github.com/users/ekmett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ekmett/subscriptions","organizations_url":"https://api.github.com/users/ekmett/orgs","repos_url":"https://api.github.com/users/ekmett/repos","events_url":"https://api.github.com/users/ekmett/events{/privacy}","received_events_url":"https://api.github.com/users/ekmett/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ekmett/perhaps","description":"A monad, perhaps.","fork":false,"url":"https://api.github.com/repos/ekmett/perhaps","forks_url":"https://api.github.com/repos/ekmett/perhaps/forks","keys_url":"https://api.github.com/repos/ekmett/perhaps/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ekmett/perhaps/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ekmett/perhaps/teams","hooks_url":"https://api.github.com/repos/ekmett/perhaps/hooks","issue_events_url":"https://api.github.com/repos/ekmett/perhaps/issues/events{/number}","events_url":"https://api.github.com/repos/ekmett/perhaps/events","assignees_url":"https://api.github.com/repos/ekmett/perhaps/assignees{/user}","branches_url":"https://api.github.com/repos/ekmett/perhaps/branches{/branch}","tags_url":"https://api.github.com/repos/ekmett/perhaps/tags","blobs_url":"https://api.github.com/repos/ekmett/perhaps/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ekmett/perhaps/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ekmett/perhaps/git/refs{/sha}","trees_url":"https://api.github.com/repos/ekmett/perhaps/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ekmett/perhaps/statuses/{sha}","languages_url":"https://api.github.com/repos/ekmett/perhaps/languages","stargazers_url":"https://api.github.com/repos/ekmett/perhaps/stargazers","contributors_url":"https://api.github.com/repos/ekmett/perhaps/contributors","subscribers_url":"https://api.github.com/repos/ekmett/perhaps/subscribers","subscription_url":"https://api.github.com/repos/ekmett/perhaps/subscription","commits_url":"https://api.github.com/repos/ekmett/perhaps/commits{/sha}","git_commits_url":"https://api.github.com/repos/ekmett/perhaps/git/commits{/sha}","comments_url":"https://api.github.com/repos/ekmett/perhaps/comments{/number}","issue_comment_url":"https://api.github.com/repos/ekmett/perhaps/issues/comments{/number}","contents_url":"https://api.github.com/repos/ekmett/perhaps/contents/{+path}","compare_url":"https://api.github.com/repos/ekmett/perhaps/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ekmett/perhaps/merges","archive_url":"https://api.github.com/repos/ekmett/perhaps/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ekmett/perhaps/downloads","issues_url":"https://api.github.com/repos/ekmett/perhaps/issues{/number}","pulls_url":"https://api.github.com/repos/ekmett/perhaps/pulls{/number}","milestones_url":"https://api.github.com/repos/ekmett/perhaps/milestones{/number}","notifications_url":"https://api.github.com/repos/ekmett/perhaps/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ekmett/perhaps/labels{/name}","releases_url":"https://api.github.com/repos/ekmett/perhaps/releases{/id}","deployments_url":"https://api.github.com/repos/ekmett/perhaps/deployments","created_at":"2018-04-24T02:43:43Z","updated_at":"2018-04-27T10:00:15Z","pushed_at":"2018-04-24T07:21:46Z","git_url":"git://github.com/ekmett/perhaps.git","ssh_url":"git@github.com:ekmett/perhaps.git","clone_url":"https://github.com/ekmett/perhaps.git","svn_url":"https://github.com/ekmett/perhaps","homepage":"http://ekmett.github.io/perhaps","size":93,"stargazers_count":28,"watchers_count":28,"language":"Haskell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":2,"open_issues":2,"watchers":28,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ekmett/perhaps/pulls/2"},"html":{"href":"https://github.com/ekmett/perhaps/pull/2"},"issue":{"href":"https://api.github.com/repos/ekmett/perhaps/issues/2"},"comments":{"href":"https://api.github.com/repos/ekmett/perhaps/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/ekmett/perhaps/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/ekmett/perhaps/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ekmett/perhaps/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/ekmett/perhaps/statuses/8f036730c6135f32309e02e8a8547b1886efe98f"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":7,"deletions":0,"changed_files":2}}
{"actor":{"display_login":"Taneb"}}