{"action":"closed","number":200,"pull_request":{"url":"https://api.github.com/repos/serokell/universum/pulls/200","id":220606735,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIwNjA2NzM1","html_url":"https://github.com/serokell/universum/pull/200","diff_url":"https://github.com/serokell/universum/pull/200.diff","patch_url":"https://github.com/serokell/universum/pull/200.patch","issue_url":"https://api.github.com/repos/serokell/universum/issues/200","number":200,"state":"closed","locked":false,"title":"[#186] Implemented hClose and withFile","user":{"login":"JustusAdam","id":5824532,"node_id":"MDQ6VXNlcjU4MjQ1MzI=","avatar_url":"https://avatars0.githubusercontent.com/u/5824532?v=4","gravatar_id":"","url":"https://api.github.com/users/JustusAdam","html_url":"https://github.com/JustusAdam","followers_url":"https://api.github.com/users/JustusAdam/followers","following_url":"https://api.github.com/users/JustusAdam/following{/other_user}","gists_url":"https://api.github.com/users/JustusAdam/gists{/gist_id}","starred_url":"https://api.github.com/users/JustusAdam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JustusAdam/subscriptions","organizations_url":"https://api.github.com/users/JustusAdam/orgs","repos_url":"https://api.github.com/users/JustusAdam/repos","events_url":"https://api.github.com/users/JustusAdam/events{/privacy}","received_events_url":"https://api.github.com/users/JustusAdam/received_events","type":"User","site_admin":false},"body":"So I read the heading of #186 and thought \"hey, they should have `withFile`\". Only after I started to implement it did I realize that discussion was already happening.\r\n\r\nSo I sort of accidentally already did the implementation.\r\n\r\nThis version currently exports `withFile` **and** `openFile` and `hClose`. And simply advises against using `openFile` and `hClose` in the documentation. Once we've settled the discussion of what should be exported this can be adjusted as needed.","created_at":"2018-10-05T07:16:35Z","updated_at":"2018-10-16T15:51:12Z","closed_at":"2018-10-16T15:51:11Z","merged_at":"2018-10-16T15:51:11Z","merge_commit_sha":"ad1bf2c59ac560595b097e19d9e7f3768c1f83a3","assignee":null,"assignees":[],"requested_reviewers":[{"login":"kirelagin","id":451835,"node_id":"MDQ6VXNlcjQ1MTgzNQ==","avatar_url":"https://avatars1.githubusercontent.com/u/451835?v=4","gravatar_id":"","url":"https://api.github.com/users/kirelagin","html_url":"https://github.com/kirelagin","followers_url":"https://api.github.com/users/kirelagin/followers","following_url":"https://api.github.com/users/kirelagin/following{/other_user}","gists_url":"https://api.github.com/users/kirelagin/gists{/gist_id}","starred_url":"https://api.github.com/users/kirelagin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kirelagin/subscriptions","organizations_url":"https://api.github.com/users/kirelagin/orgs","repos_url":"https://api.github.com/users/kirelagin/repos","events_url":"https://api.github.com/users/kirelagin/events{/privacy}","received_events_url":"https://api.github.com/users/kirelagin/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":1016434902,"node_id":"MDU6TGFiZWwxMDE2NDM0OTAy","url":"https://api.github.com/repos/serokell/universum/labels/type:feature","name":"type:feature","color":"5de273","default":false}],"milestone":{"url":"https://api.github.com/repos/serokell/universum/milestones/7","html_url":"https://github.com/serokell/universum/milestone/7","labels_url":"https://api.github.com/repos/serokell/universum/milestones/7/labels","id":3743610,"node_id":"MDk6TWlsZXN0b25lMzc0MzYxMA==","number":7,"title":"v1.5.0: generous contributions","description":"Version 1.5.0 will contain changes that some casual contributors proposed and regular maintainers approved. There are some breaking changes.","creator":{"login":"gromakovsky","id":2556409,"node_id":"MDQ6VXNlcjI1NTY0MDk=","avatar_url":"https://avatars0.githubusercontent.com/u/2556409?v=4","gravatar_id":"","url":"https://api.github.com/users/gromakovsky","html_url":"https://github.com/gromakovsky","followers_url":"https://api.github.com/users/gromakovsky/followers","following_url":"https://api.github.com/users/gromakovsky/following{/other_user}","gists_url":"https://api.github.com/users/gromakovsky/gists{/gist_id}","starred_url":"https://api.github.com/users/gromakovsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gromakovsky/subscriptions","organizations_url":"https://api.github.com/users/gromakovsky/orgs","repos_url":"https://api.github.com/users/gromakovsky/repos","events_url":"https://api.github.com/users/gromakovsky/events{/privacy}","received_events_url":"https://api.github.com/users/gromakovsky/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":1,"state":"open","created_at":"2018-10-16T15:48:50Z","updated_at":"2018-10-16T15:51:12Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/serokell/universum/pulls/200/commits","review_comments_url":"https://api.github.com/repos/serokell/universum/pulls/200/comments","review_comment_url":"https://api.github.com/repos/serokell/universum/pulls/comments{/number}","comments_url":"https://api.github.com/repos/serokell/universum/issues/200/comments","statuses_url":"https://api.github.com/repos/serokell/universum/statuses/fd09b1260bb263581b9df0c8eaf5dcb262d4ddd6","head":{"label":"JustusAdam:with-file","ref":"with-file","sha":"fd09b1260bb263581b9df0c8eaf5dcb262d4ddd6","user":{"login":"JustusAdam","id":5824532,"node_id":"MDQ6VXNlcjU4MjQ1MzI=","avatar_url":"https://avatars0.githubusercontent.com/u/5824532?v=4","gravatar_id":"","url":"https://api.github.com/users/JustusAdam","html_url":"https://github.com/JustusAdam","followers_url":"https://api.github.com/users/JustusAdam/followers","following_url":"https://api.github.com/users/JustusAdam/following{/other_user}","gists_url":"https://api.github.com/users/JustusAdam/gists{/gist_id}","starred_url":"https://api.github.com/users/JustusAdam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JustusAdam/subscriptions","organizations_url":"https://api.github.com/users/JustusAdam/orgs","repos_url":"https://api.github.com/users/JustusAdam/repos","events_url":"https://api.github.com/users/JustusAdam/events{/privacy}","received_events_url":"https://api.github.com/users/JustusAdam/received_events","type":"User","site_admin":false},"repo":{"id":151397563,"node_id":"MDEwOlJlcG9zaXRvcnkxNTEzOTc1NjM=","name":"universum","full_name":"JustusAdam/universum","private":false,"owner":{"login":"JustusAdam","id":5824532,"node_id":"MDQ6VXNlcjU4MjQ1MzI=","avatar_url":"https://avatars0.githubusercontent.com/u/5824532?v=4","gravatar_id":"","url":"https://api.github.com/users/JustusAdam","html_url":"https://github.com/JustusAdam","followers_url":"https://api.github.com/users/JustusAdam/followers","following_url":"https://api.github.com/users/JustusAdam/following{/other_user}","gists_url":"https://api.github.com/users/JustusAdam/gists{/gist_id}","starred_url":"https://api.github.com/users/JustusAdam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JustusAdam/subscriptions","organizations_url":"https://api.github.com/users/JustusAdam/orgs","repos_url":"https://api.github.com/users/JustusAdam/repos","events_url":"https://api.github.com/users/JustusAdam/events{/privacy}","received_events_url":"https://api.github.com/users/JustusAdam/received_events","type":"User","site_admin":false},"html_url":"https://github.com/JustusAdam/universum","description":":milky_way: Prelude written in @Serokell","fork":true,"url":"https://api.github.com/repos/JustusAdam/universum","forks_url":"https://api.github.com/repos/JustusAdam/universum/forks","keys_url":"https://api.github.com/repos/JustusAdam/universum/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JustusAdam/universum/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JustusAdam/universum/teams","hooks_url":"https://api.github.com/repos/JustusAdam/universum/hooks","issue_events_url":"https://api.github.com/repos/JustusAdam/universum/issues/events{/number}","events_url":"https://api.github.com/repos/JustusAdam/universum/events","assignees_url":"https://api.github.com/repos/JustusAdam/universum/assignees{/user}","branches_url":"https://api.github.com/repos/JustusAdam/universum/branches{/branch}","tags_url":"https://api.github.com/repos/JustusAdam/universum/tags","blobs_url":"https://api.github.com/repos/JustusAdam/universum/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JustusAdam/universum/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JustusAdam/universum/git/refs{/sha}","trees_url":"https://api.github.com/repos/JustusAdam/universum/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JustusAdam/universum/statuses/{sha}","languages_url":"https://api.github.com/repos/JustusAdam/universum/languages","stargazers_url":"https://api.github.com/repos/JustusAdam/universum/stargazers","contributors_url":"https://api.github.com/repos/JustusAdam/universum/contributors","subscribers_url":"https://api.github.com/repos/JustusAdam/universum/subscribers","subscription_url":"https://api.github.com/repos/JustusAdam/universum/subscription","commits_url":"https://api.github.com/repos/JustusAdam/universum/commits{/sha}","git_commits_url":"https://api.github.com/repos/JustusAdam/universum/git/commits{/sha}","comments_url":"https://api.github.com/repos/JustusAdam/universum/comments{/number}","issue_comment_url":"https://api.github.com/repos/JustusAdam/universum/issues/comments{/number}","contents_url":"https://api.github.com/repos/JustusAdam/universum/contents/{+path}","compare_url":"https://api.github.com/repos/JustusAdam/universum/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JustusAdam/universum/merges","archive_url":"https://api.github.com/repos/JustusAdam/universum/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JustusAdam/universum/downloads","issues_url":"https://api.github.com/repos/JustusAdam/universum/issues{/number}","pulls_url":"https://api.github.com/repos/JustusAdam/universum/pulls{/number}","milestones_url":"https://api.github.com/repos/JustusAdam/universum/milestones{/number}","notifications_url":"https://api.github.com/repos/JustusAdam/universum/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JustusAdam/universum/labels{/name}","releases_url":"https://api.github.com/repos/JustusAdam/universum/releases{/id}","deployments_url":"https://api.github.com/repos/JustusAdam/universum/deployments","created_at":"2018-10-03T10:45:36Z","updated_at":"2018-10-15T16:59:51Z","pushed_at":"2018-10-15T16:59:49Z","git_url":"git://github.com/JustusAdam/universum.git","ssh_url":"git@github.com:JustusAdam/universum.git","clone_url":"https://github.com/JustusAdam/universum.git","svn_url":"https://github.com/JustusAdam/universum","homepage":"","size":589,"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":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"serokell:master","ref":"master","sha":"6cbb2426c25c8a289d768f44cd90a97913fd02c8","user":{"login":"serokell","id":13840520,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzODQwNTIw","avatar_url":"https://avatars2.githubusercontent.com/u/13840520?v=4","gravatar_id":"","url":"https://api.github.com/users/serokell","html_url":"https://github.com/serokell","followers_url":"https://api.github.com/users/serokell/followers","following_url":"https://api.github.com/users/serokell/following{/other_user}","gists_url":"https://api.github.com/users/serokell/gists{/gist_id}","starred_url":"https://api.github.com/users/serokell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/serokell/subscriptions","organizations_url":"https://api.github.com/users/serokell/orgs","repos_url":"https://api.github.com/users/serokell/repos","events_url":"https://api.github.com/users/serokell/events{/privacy}","received_events_url":"https://api.github.com/users/serokell/received_events","type":"Organization","site_admin":false},"repo":{"id":64127077,"node_id":"MDEwOlJlcG9zaXRvcnk2NDEyNzA3Nw==","name":"universum","full_name":"serokell/universum","private":false,"owner":{"login":"serokell","id":13840520,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzODQwNTIw","avatar_url":"https://avatars2.githubusercontent.com/u/13840520?v=4","gravatar_id":"","url":"https://api.github.com/users/serokell","html_url":"https://github.com/serokell","followers_url":"https://api.github.com/users/serokell/followers","following_url":"https://api.github.com/users/serokell/following{/other_user}","gists_url":"https://api.github.com/users/serokell/gists{/gist_id}","starred_url":"https://api.github.com/users/serokell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/serokell/subscriptions","organizations_url":"https://api.github.com/users/serokell/orgs","repos_url":"https://api.github.com/users/serokell/repos","events_url":"https://api.github.com/users/serokell/events{/privacy}","received_events_url":"https://api.github.com/users/serokell/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/serokell/universum","description":":milky_way: Prelude written in @Serokell","fork":false,"url":"https://api.github.com/repos/serokell/universum","forks_url":"https://api.github.com/repos/serokell/universum/forks","keys_url":"https://api.github.com/repos/serokell/universum/keys{/key_id}","collaborators_url":"https://api.github.com/repos/serokell/universum/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/serokell/universum/teams","hooks_url":"https://api.github.com/repos/serokell/universum/hooks","issue_events_url":"https://api.github.com/repos/serokell/universum/issues/events{/number}","events_url":"https://api.github.com/repos/serokell/universum/events","assignees_url":"https://api.github.com/repos/serokell/universum/assignees{/user}","branches_url":"https://api.github.com/repos/serokell/universum/branches{/branch}","tags_url":"https://api.github.com/repos/serokell/universum/tags","blobs_url":"https://api.github.com/repos/serokell/universum/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/serokell/universum/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/serokell/universum/git/refs{/sha}","trees_url":"https://api.github.com/repos/serokell/universum/git/trees{/sha}","statuses_url":"https://api.github.com/repos/serokell/universum/statuses/{sha}","languages_url":"https://api.github.com/repos/serokell/universum/languages","stargazers_url":"https://api.github.com/repos/serokell/universum/stargazers","contributors_url":"https://api.github.com/repos/serokell/universum/contributors","subscribers_url":"https://api.github.com/repos/serokell/universum/subscribers","subscription_url":"https://api.github.com/repos/serokell/universum/subscription","commits_url":"https://api.github.com/repos/serokell/universum/commits{/sha}","git_commits_url":"https://api.github.com/repos/serokell/universum/git/commits{/sha}","comments_url":"https://api.github.com/repos/serokell/universum/comments{/number}","issue_comment_url":"https://api.github.com/repos/serokell/universum/issues/comments{/number}","contents_url":"https://api.github.com/repos/serokell/universum/contents/{+path}","compare_url":"https://api.github.com/repos/serokell/universum/compare/{base}...{head}","merges_url":"https://api.github.com/repos/serokell/universum/merges","archive_url":"https://api.github.com/repos/serokell/universum/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/serokell/universum/downloads","issues_url":"https://api.github.com/repos/serokell/universum/issues{/number}","pulls_url":"https://api.github.com/repos/serokell/universum/pulls{/number}","milestones_url":"https://api.github.com/repos/serokell/universum/milestones{/number}","notifications_url":"https://api.github.com/repos/serokell/universum/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/serokell/universum/labels{/name}","releases_url":"https://api.github.com/repos/serokell/universum/releases{/id}","deployments_url":"https://api.github.com/repos/serokell/universum/deployments","created_at":"2016-07-25T10:55:02Z","updated_at":"2018-10-15T15:41:09Z","pushed_at":"2018-10-16T15:51:11Z","git_url":"git://github.com/serokell/universum.git","ssh_url":"git@github.com:serokell/universum.git","clone_url":"https://github.com/serokell/universum.git","svn_url":"https://github.com/serokell/universum","homepage":"","size":574,"stargazers_count":71,"watchers_count":71,"language":"Haskell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":16,"mirror_url":null,"archived":false,"open_issues_count":26,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":16,"open_issues":26,"watchers":71,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/serokell/universum/pulls/200"},"html":{"href":"https://github.com/serokell/universum/pull/200"},"issue":{"href":"https://api.github.com/repos/serokell/universum/issues/200"},"comments":{"href":"https://api.github.com/repos/serokell/universum/issues/200/comments"},"review_comments":{"href":"https://api.github.com/repos/serokell/universum/pulls/200/comments"},"review_comment":{"href":"https://api.github.com/repos/serokell/universum/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/serokell/universum/pulls/200/commits"},"statuses":{"href":"https://api.github.com/repos/serokell/universum/statuses/fd09b1260bb263581b9df0c8eaf5dcb262d4ddd6"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"gromakovsky","id":2556409,"node_id":"MDQ6VXNlcjI1NTY0MDk=","avatar_url":"https://avatars0.githubusercontent.com/u/2556409?v=4","gravatar_id":"","url":"https://api.github.com/users/gromakovsky","html_url":"https://github.com/gromakovsky","followers_url":"https://api.github.com/users/gromakovsky/followers","following_url":"https://api.github.com/users/gromakovsky/following{/other_user}","gists_url":"https://api.github.com/users/gromakovsky/gists{/gist_id}","starred_url":"https://api.github.com/users/gromakovsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gromakovsky/subscriptions","organizations_url":"https://api.github.com/users/gromakovsky/orgs","repos_url":"https://api.github.com/users/gromakovsky/repos","events_url":"https://api.github.com/users/gromakovsky/events{/privacy}","received_events_url":"https://api.github.com/users/gromakovsky/received_events","type":"User","site_admin":false},"comments":3,"review_comments":2,"maintainer_can_modify":false,"commits":4,"additions":47,"deletions":6,"changed_files":3}}
{"actor":{"display_login":"gromakovsky"}}