{"action":"opened","number":835,"pull_request":{"url":"https://api.github.com/repos/haskell/haddock/pulls/835","id":189727357,"html_url":"https://github.com/haskell/haddock/pull/835","diff_url":"https://github.com/haskell/haddock/pull/835.diff","patch_url":"https://github.com/haskell/haddock/pull/835.patch","issue_url":"https://api.github.com/repos/haskell/haddock/issues/835","number":835,"state":"open","locked":false,"title":"Use `ClassOpSig` instead of `TypeSig` for class methods","user":{"login":"harpocrates","id":10766081,"avatar_url":"https://avatars2.githubusercontent.com/u/10766081?v=4","gravatar_id":"","url":"https://api.github.com/users/harpocrates","html_url":"https://github.com/harpocrates","followers_url":"https://api.github.com/users/harpocrates/followers","following_url":"https://api.github.com/users/harpocrates/following{/other_user}","gists_url":"https://api.github.com/users/harpocrates/gists{/gist_id}","starred_url":"https://api.github.com/users/harpocrates/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harpocrates/subscriptions","organizations_url":"https://api.github.com/users/harpocrates/orgs","repos_url":"https://api.github.com/users/harpocrates/repos","events_url":"https://api.github.com/users/harpocrates/events{/privacy}","received_events_url":"https://api.github.com/users/harpocrates/received_events","type":"User","site_admin":false},"body":"From #834:\r\n\r\n```haskell\r\nmodule Minimal (C(..)) where \r\n\r\n-- | A  class\r\nclass C index where\r\n  {-# MINIMAL (merge | mergeMany) #-}\r\n\r\n  -- | One \r\n  merge :: index -> index -> index\r\n  merge x1 x2 = mergeMany [x1,x2]\r\n\r\n  -- | Two\r\n  mergeMany :: [index] -> index\r\n  mergeMany = foldr1 merge \r\n```\r\n\r\nLooked like\r\n\r\n<img width=\"472\" alt=\"screen shot 2018-05-22 at 9 43 42 am\" src=\"https://user-images.githubusercontent.com/10766081/40377034-b8a25158-5da4-11e8-938c-d4d77d058d04.png\">\r\n\r\nAnd now looks like\r\n\r\n<img width=\"475\" alt=\"screen shot 2018-05-22 at 9 43 47 am\" src=\"https://user-images.githubusercontent.com/10766081/40377044-bf16a854-5da4-11e8-8989-281f9068beef.png\">\r\n\r\nI was going to add a test case, but it looks like the test suite is already full of test cases that were broken: minimal pragmas that weren't supposed to show up but did, minimal pragmas that were supposed to show up but didn't, class methods that weren't should up in the synopsis, you name it!","created_at":"2018-05-22T16:47:23Z","updated_at":"2018-05-22T16:47:23Z","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/haskell/haddock/pulls/835/commits","review_comments_url":"https://api.github.com/repos/haskell/haddock/pulls/835/comments","review_comment_url":"https://api.github.com/repos/haskell/haddock/pulls/comments{/number}","comments_url":"https://api.github.com/repos/haskell/haddock/issues/835/comments","statuses_url":"https://api.github.com/repos/haskell/haddock/statuses/968cb2ba98ccd00e20d12dc4fc4c50d15ecc0257","head":{"label":"harpocrates:minimal-prag","ref":"minimal-prag","sha":"968cb2ba98ccd00e20d12dc4fc4c50d15ecc0257","user":{"login":"harpocrates","id":10766081,"avatar_url":"https://avatars2.githubusercontent.com/u/10766081?v=4","gravatar_id":"","url":"https://api.github.com/users/harpocrates","html_url":"https://github.com/harpocrates","followers_url":"https://api.github.com/users/harpocrates/followers","following_url":"https://api.github.com/users/harpocrates/following{/other_user}","gists_url":"https://api.github.com/users/harpocrates/gists{/gist_id}","starred_url":"https://api.github.com/users/harpocrates/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harpocrates/subscriptions","organizations_url":"https://api.github.com/users/harpocrates/orgs","repos_url":"https://api.github.com/users/harpocrates/repos","events_url":"https://api.github.com/users/harpocrates/events{/privacy}","received_events_url":"https://api.github.com/users/harpocrates/received_events","type":"User","site_admin":false},"repo":{"id":89615020,"name":"haddock","full_name":"harpocrates/haddock","owner":{"login":"harpocrates","id":10766081,"avatar_url":"https://avatars2.githubusercontent.com/u/10766081?v=4","gravatar_id":"","url":"https://api.github.com/users/harpocrates","html_url":"https://github.com/harpocrates","followers_url":"https://api.github.com/users/harpocrates/followers","following_url":"https://api.github.com/users/harpocrates/following{/other_user}","gists_url":"https://api.github.com/users/harpocrates/gists{/gist_id}","starred_url":"https://api.github.com/users/harpocrates/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harpocrates/subscriptions","organizations_url":"https://api.github.com/users/harpocrates/orgs","repos_url":"https://api.github.com/users/harpocrates/repos","events_url":"https://api.github.com/users/harpocrates/events{/privacy}","received_events_url":"https://api.github.com/users/harpocrates/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/harpocrates/haddock","description":"Haskell Documentation Tool","fork":true,"url":"https://api.github.com/repos/harpocrates/haddock","forks_url":"https://api.github.com/repos/harpocrates/haddock/forks","keys_url":"https://api.github.com/repos/harpocrates/haddock/keys{/key_id}","collaborators_url":"https://api.github.com/repos/harpocrates/haddock/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/harpocrates/haddock/teams","hooks_url":"https://api.github.com/repos/harpocrates/haddock/hooks","issue_events_url":"https://api.github.com/repos/harpocrates/haddock/issues/events{/number}","events_url":"https://api.github.com/repos/harpocrates/haddock/events","assignees_url":"https://api.github.com/repos/harpocrates/haddock/assignees{/user}","branches_url":"https://api.github.com/repos/harpocrates/haddock/branches{/branch}","tags_url":"https://api.github.com/repos/harpocrates/haddock/tags","blobs_url":"https://api.github.com/repos/harpocrates/haddock/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/harpocrates/haddock/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/harpocrates/haddock/git/refs{/sha}","trees_url":"https://api.github.com/repos/harpocrates/haddock/git/trees{/sha}","statuses_url":"https://api.github.com/repos/harpocrates/haddock/statuses/{sha}","languages_url":"https://api.github.com/repos/harpocrates/haddock/languages","stargazers_url":"https://api.github.com/repos/harpocrates/haddock/stargazers","contributors_url":"https://api.github.com/repos/harpocrates/haddock/contributors","subscribers_url":"https://api.github.com/repos/harpocrates/haddock/subscribers","subscription_url":"https://api.github.com/repos/harpocrates/haddock/subscription","commits_url":"https://api.github.com/repos/harpocrates/haddock/commits{/sha}","git_commits_url":"https://api.github.com/repos/harpocrates/haddock/git/commits{/sha}","comments_url":"https://api.github.com/repos/harpocrates/haddock/comments{/number}","issue_comment_url":"https://api.github.com/repos/harpocrates/haddock/issues/comments{/number}","contents_url":"https://api.github.com/repos/harpocrates/haddock/contents/{+path}","compare_url":"https://api.github.com/repos/harpocrates/haddock/compare/{base}...{head}","merges_url":"https://api.github.com/repos/harpocrates/haddock/merges","archive_url":"https://api.github.com/repos/harpocrates/haddock/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/harpocrates/haddock/downloads","issues_url":"https://api.github.com/repos/harpocrates/haddock/issues{/number}","pulls_url":"https://api.github.com/repos/harpocrates/haddock/pulls{/number}","milestones_url":"https://api.github.com/repos/harpocrates/haddock/milestones{/number}","notifications_url":"https://api.github.com/repos/harpocrates/haddock/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/harpocrates/haddock/labels{/name}","releases_url":"https://api.github.com/repos/harpocrates/haddock/releases{/id}","deployments_url":"https://api.github.com/repos/harpocrates/haddock/deployments","created_at":"2017-04-27T15:54:12Z","updated_at":"2017-04-27T15:54:14Z","pushed_at":"2018-05-22T16:41:43Z","git_url":"git://github.com/harpocrates/haddock.git","ssh_url":"git@github.com:harpocrates/haddock.git","clone_url":"https://github.com/harpocrates/haddock.git","svn_url":"https://github.com/harpocrates/haddock","homepage":"www.haskell.org/haddock/","size":13669,"stargazers_count":0,"watchers_count":0,"language":"HTML","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":"haskell:ghc-8.4","ref":"ghc-8.4","sha":"03c1c10f13577b45027d3456c24fc5c88323ee42","user":{"login":"haskell","id":450574,"avatar_url":"https://avatars1.githubusercontent.com/u/450574?v=4","gravatar_id":"","url":"https://api.github.com/users/haskell","html_url":"https://github.com/haskell","followers_url":"https://api.github.com/users/haskell/followers","following_url":"https://api.github.com/users/haskell/following{/other_user}","gists_url":"https://api.github.com/users/haskell/gists{/gist_id}","starred_url":"https://api.github.com/users/haskell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haskell/subscriptions","organizations_url":"https://api.github.com/users/haskell/orgs","repos_url":"https://api.github.com/users/haskell/repos","events_url":"https://api.github.com/users/haskell/events{/privacy}","received_events_url":"https://api.github.com/users/haskell/received_events","type":"Organization","site_admin":false},"repo":{"id":19586474,"name":"haddock","full_name":"haskell/haddock","owner":{"login":"haskell","id":450574,"avatar_url":"https://avatars1.githubusercontent.com/u/450574?v=4","gravatar_id":"","url":"https://api.github.com/users/haskell","html_url":"https://github.com/haskell","followers_url":"https://api.github.com/users/haskell/followers","following_url":"https://api.github.com/users/haskell/following{/other_user}","gists_url":"https://api.github.com/users/haskell/gists{/gist_id}","starred_url":"https://api.github.com/users/haskell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haskell/subscriptions","organizations_url":"https://api.github.com/users/haskell/orgs","repos_url":"https://api.github.com/users/haskell/repos","events_url":"https://api.github.com/users/haskell/events{/privacy}","received_events_url":"https://api.github.com/users/haskell/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/haskell/haddock","description":"Haskell Documentation Tool","fork":false,"url":"https://api.github.com/repos/haskell/haddock","forks_url":"https://api.github.com/repos/haskell/haddock/forks","keys_url":"https://api.github.com/repos/haskell/haddock/keys{/key_id}","collaborators_url":"https://api.github.com/repos/haskell/haddock/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/haskell/haddock/teams","hooks_url":"https://api.github.com/repos/haskell/haddock/hooks","issue_events_url":"https://api.github.com/repos/haskell/haddock/issues/events{/number}","events_url":"https://api.github.com/repos/haskell/haddock/events","assignees_url":"https://api.github.com/repos/haskell/haddock/assignees{/user}","branches_url":"https://api.github.com/repos/haskell/haddock/branches{/branch}","tags_url":"https://api.github.com/repos/haskell/haddock/tags","blobs_url":"https://api.github.com/repos/haskell/haddock/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/haskell/haddock/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/haskell/haddock/git/refs{/sha}","trees_url":"https://api.github.com/repos/haskell/haddock/git/trees{/sha}","statuses_url":"https://api.github.com/repos/haskell/haddock/statuses/{sha}","languages_url":"https://api.github.com/repos/haskell/haddock/languages","stargazers_url":"https://api.github.com/repos/haskell/haddock/stargazers","contributors_url":"https://api.github.com/repos/haskell/haddock/contributors","subscribers_url":"https://api.github.com/repos/haskell/haddock/subscribers","subscription_url":"https://api.github.com/repos/haskell/haddock/subscription","commits_url":"https://api.github.com/repos/haskell/haddock/commits{/sha}","git_commits_url":"https://api.github.com/repos/haskell/haddock/git/commits{/sha}","comments_url":"https://api.github.com/repos/haskell/haddock/comments{/number}","issue_comment_url":"https://api.github.com/repos/haskell/haddock/issues/comments{/number}","contents_url":"https://api.github.com/repos/haskell/haddock/contents/{+path}","compare_url":"https://api.github.com/repos/haskell/haddock/compare/{base}...{head}","merges_url":"https://api.github.com/repos/haskell/haddock/merges","archive_url":"https://api.github.com/repos/haskell/haddock/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/haskell/haddock/downloads","issues_url":"https://api.github.com/repos/haskell/haddock/issues{/number}","pulls_url":"https://api.github.com/repos/haskell/haddock/pulls{/number}","milestones_url":"https://api.github.com/repos/haskell/haddock/milestones{/number}","notifications_url":"https://api.github.com/repos/haskell/haddock/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/haskell/haddock/labels{/name}","releases_url":"https://api.github.com/repos/haskell/haddock/releases{/id}","deployments_url":"https://api.github.com/repos/haskell/haddock/deployments","created_at":"2014-05-08T19:42:26Z","updated_at":"2018-05-18T12:53:47Z","pushed_at":"2018-05-19T11:03:30Z","git_url":"git://github.com/haskell/haddock.git","ssh_url":"git@github.com:haskell/haddock.git","clone_url":"https://github.com/haskell/haddock.git","svn_url":"https://github.com/haskell/haddock","homepage":"www.haskell.org/haddock/","size":13718,"stargazers_count":145,"watchers_count":145,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":117,"mirror_url":null,"archived":false,"open_issues_count":214,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":117,"open_issues":214,"watchers":145,"default_branch":"ghc-8.4"}},"_links":{"self":{"href":"https://api.github.com/repos/haskell/haddock/pulls/835"},"html":{"href":"https://github.com/haskell/haddock/pull/835"},"issue":{"href":"https://api.github.com/repos/haskell/haddock/issues/835"},"comments":{"href":"https://api.github.com/repos/haskell/haddock/issues/835/comments"},"review_comments":{"href":"https://api.github.com/repos/haskell/haddock/pulls/835/comments"},"review_comment":{"href":"https://api.github.com/repos/haskell/haddock/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/haskell/haddock/pulls/835/commits"},"statuses":{"href":"https://api.github.com/repos/haskell/haddock/statuses/968cb2ba98ccd00e20d12dc4fc4c50d15ecc0257"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":2,"additions":124,"deletions":140,"changed_files":13}}
{"actor":{"display_login":"harpocrates"}}