{"action":"closed","number":27,"pull_request":{"url":"https://api.github.com/repos/stepchowfun/effects/pulls/27","id":214160751,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE0MTYwNzUx","html_url":"https://github.com/stepchowfun/effects/pull/27","diff_url":"https://github.com/stepchowfun/effects/pull/27.diff","patch_url":"https://github.com/stepchowfun/effects/pull/27.patch","issue_url":"https://api.github.com/repos/stepchowfun/effects/issues/27","number":27,"state":"closed","locked":false,"title":"Use mtl-style classes instead of the concrete monad","user":{"login":"stepchowfun","id":796574,"node_id":"MDQ6VXNlcjc5NjU3NA==","avatar_url":"https://avatars1.githubusercontent.com/u/796574?v=4","gravatar_id":"","url":"https://api.github.com/users/stepchowfun","html_url":"https://github.com/stepchowfun","followers_url":"https://api.github.com/users/stepchowfun/followers","following_url":"https://api.github.com/users/stepchowfun/following{/other_user}","gists_url":"https://api.github.com/users/stepchowfun/gists{/gist_id}","starred_url":"https://api.github.com/users/stepchowfun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stepchowfun/subscriptions","organizations_url":"https://api.github.com/users/stepchowfun/orgs","repos_url":"https://api.github.com/users/stepchowfun/repos","events_url":"https://api.github.com/users/stepchowfun/events{/privacy}","received_events_url":"https://api.github.com/users/stepchowfun/received_events","type":"User","site_admin":false},"body":"As [suggested](https://www.reddit.com/r/haskell/comments/9d44df/exploring_various_ways_to_model_computational/e5nzdw9/) by `u/dukerutledge`, use the `mtl` type classes instead of the concrete stack. Note that the `interpret` function still needs to use the concrete stack, however.","created_at":"2018-09-09T19:32:31Z","updated_at":"2018-09-09T19:43:33Z","closed_at":"2018-09-09T19:43:33Z","merged_at":"2018-09-09T19:43:33Z","merge_commit_sha":"d8a3e54f2073c63ee12af610cda537d635f397c5","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/stepchowfun/effects/pulls/27/commits","review_comments_url":"https://api.github.com/repos/stepchowfun/effects/pulls/27/comments","review_comment_url":"https://api.github.com/repos/stepchowfun/effects/pulls/comments{/number}","comments_url":"https://api.github.com/repos/stepchowfun/effects/issues/27/comments","statuses_url":"https://api.github.com/repos/stepchowfun/effects/statuses/49ae1caf1811a2faeb6fe40ffd5be987e7769866","head":{"label":"stepchowfun:mtl-classes","ref":"mtl-classes","sha":"49ae1caf1811a2faeb6fe40ffd5be987e7769866","user":{"login":"stepchowfun","id":796574,"node_id":"MDQ6VXNlcjc5NjU3NA==","avatar_url":"https://avatars1.githubusercontent.com/u/796574?v=4","gravatar_id":"","url":"https://api.github.com/users/stepchowfun","html_url":"https://github.com/stepchowfun","followers_url":"https://api.github.com/users/stepchowfun/followers","following_url":"https://api.github.com/users/stepchowfun/following{/other_user}","gists_url":"https://api.github.com/users/stepchowfun/gists{/gist_id}","starred_url":"https://api.github.com/users/stepchowfun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stepchowfun/subscriptions","organizations_url":"https://api.github.com/users/stepchowfun/orgs","repos_url":"https://api.github.com/users/stepchowfun/repos","events_url":"https://api.github.com/users/stepchowfun/events{/privacy}","received_events_url":"https://api.github.com/users/stepchowfun/received_events","type":"User","site_admin":false},"repo":{"id":126170359,"node_id":"MDEwOlJlcG9zaXRvcnkxMjYxNzAzNTk=","name":"effects","full_name":"stepchowfun/effects","owner":{"login":"stepchowfun","id":796574,"node_id":"MDQ6VXNlcjc5NjU3NA==","avatar_url":"https://avatars1.githubusercontent.com/u/796574?v=4","gravatar_id":"","url":"https://api.github.com/users/stepchowfun","html_url":"https://github.com/stepchowfun","followers_url":"https://api.github.com/users/stepchowfun/followers","following_url":"https://api.github.com/users/stepchowfun/following{/other_user}","gists_url":"https://api.github.com/users/stepchowfun/gists{/gist_id}","starred_url":"https://api.github.com/users/stepchowfun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stepchowfun/subscriptions","organizations_url":"https://api.github.com/users/stepchowfun/orgs","repos_url":"https://api.github.com/users/stepchowfun/repos","events_url":"https://api.github.com/users/stepchowfun/events{/privacy}","received_events_url":"https://api.github.com/users/stepchowfun/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/stepchowfun/effects","description":"A brief exploration of the various approaches to modeling side effects in a purely functional programming language.","fork":false,"url":"https://api.github.com/repos/stepchowfun/effects","forks_url":"https://api.github.com/repos/stepchowfun/effects/forks","keys_url":"https://api.github.com/repos/stepchowfun/effects/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stepchowfun/effects/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stepchowfun/effects/teams","hooks_url":"https://api.github.com/repos/stepchowfun/effects/hooks","issue_events_url":"https://api.github.com/repos/stepchowfun/effects/issues/events{/number}","events_url":"https://api.github.com/repos/stepchowfun/effects/events","assignees_url":"https://api.github.com/repos/stepchowfun/effects/assignees{/user}","branches_url":"https://api.github.com/repos/stepchowfun/effects/branches{/branch}","tags_url":"https://api.github.com/repos/stepchowfun/effects/tags","blobs_url":"https://api.github.com/repos/stepchowfun/effects/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stepchowfun/effects/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stepchowfun/effects/git/refs{/sha}","trees_url":"https://api.github.com/repos/stepchowfun/effects/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stepchowfun/effects/statuses/{sha}","languages_url":"https://api.github.com/repos/stepchowfun/effects/languages","stargazers_url":"https://api.github.com/repos/stepchowfun/effects/stargazers","contributors_url":"https://api.github.com/repos/stepchowfun/effects/contributors","subscribers_url":"https://api.github.com/repos/stepchowfun/effects/subscribers","subscription_url":"https://api.github.com/repos/stepchowfun/effects/subscription","commits_url":"https://api.github.com/repos/stepchowfun/effects/commits{/sha}","git_commits_url":"https://api.github.com/repos/stepchowfun/effects/git/commits{/sha}","comments_url":"https://api.github.com/repos/stepchowfun/effects/comments{/number}","issue_comment_url":"https://api.github.com/repos/stepchowfun/effects/issues/comments{/number}","contents_url":"https://api.github.com/repos/stepchowfun/effects/contents/{+path}","compare_url":"https://api.github.com/repos/stepchowfun/effects/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stepchowfun/effects/merges","archive_url":"https://api.github.com/repos/stepchowfun/effects/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stepchowfun/effects/downloads","issues_url":"https://api.github.com/repos/stepchowfun/effects/issues{/number}","pulls_url":"https://api.github.com/repos/stepchowfun/effects/pulls{/number}","milestones_url":"https://api.github.com/repos/stepchowfun/effects/milestones{/number}","notifications_url":"https://api.github.com/repos/stepchowfun/effects/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stepchowfun/effects/labels{/name}","releases_url":"https://api.github.com/repos/stepchowfun/effects/releases{/id}","deployments_url":"https://api.github.com/repos/stepchowfun/effects/deployments","created_at":"2018-03-21T11:43:58Z","updated_at":"2018-09-09T01:20:35Z","pushed_at":"2018-09-09T19:43:33Z","git_url":"git://github.com/stepchowfun/effects.git","ssh_url":"git@github.com:stepchowfun/effects.git","clone_url":"https://github.com/stepchowfun/effects.git","svn_url":"https://github.com/stepchowfun/effects","homepage":"","size":41,"stargazers_count":29,"watchers_count":29,"language":"Haskell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":4,"open_issues":1,"watchers":29,"default_branch":"master"}},"base":{"label":"stepchowfun:master","ref":"master","sha":"08460a8ef4ddfe5d8a6a94b4f01a70506850505b","user":{"login":"stepchowfun","id":796574,"node_id":"MDQ6VXNlcjc5NjU3NA==","avatar_url":"https://avatars1.githubusercontent.com/u/796574?v=4","gravatar_id":"","url":"https://api.github.com/users/stepchowfun","html_url":"https://github.com/stepchowfun","followers_url":"https://api.github.com/users/stepchowfun/followers","following_url":"https://api.github.com/users/stepchowfun/following{/other_user}","gists_url":"https://api.github.com/users/stepchowfun/gists{/gist_id}","starred_url":"https://api.github.com/users/stepchowfun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stepchowfun/subscriptions","organizations_url":"https://api.github.com/users/stepchowfun/orgs","repos_url":"https://api.github.com/users/stepchowfun/repos","events_url":"https://api.github.com/users/stepchowfun/events{/privacy}","received_events_url":"https://api.github.com/users/stepchowfun/received_events","type":"User","site_admin":false},"repo":{"id":126170359,"node_id":"MDEwOlJlcG9zaXRvcnkxMjYxNzAzNTk=","name":"effects","full_name":"stepchowfun/effects","owner":{"login":"stepchowfun","id":796574,"node_id":"MDQ6VXNlcjc5NjU3NA==","avatar_url":"https://avatars1.githubusercontent.com/u/796574?v=4","gravatar_id":"","url":"https://api.github.com/users/stepchowfun","html_url":"https://github.com/stepchowfun","followers_url":"https://api.github.com/users/stepchowfun/followers","following_url":"https://api.github.com/users/stepchowfun/following{/other_user}","gists_url":"https://api.github.com/users/stepchowfun/gists{/gist_id}","starred_url":"https://api.github.com/users/stepchowfun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stepchowfun/subscriptions","organizations_url":"https://api.github.com/users/stepchowfun/orgs","repos_url":"https://api.github.com/users/stepchowfun/repos","events_url":"https://api.github.com/users/stepchowfun/events{/privacy}","received_events_url":"https://api.github.com/users/stepchowfun/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/stepchowfun/effects","description":"A brief exploration of the various approaches to modeling side effects in a purely functional programming language.","fork":false,"url":"https://api.github.com/repos/stepchowfun/effects","forks_url":"https://api.github.com/repos/stepchowfun/effects/forks","keys_url":"https://api.github.com/repos/stepchowfun/effects/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stepchowfun/effects/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stepchowfun/effects/teams","hooks_url":"https://api.github.com/repos/stepchowfun/effects/hooks","issue_events_url":"https://api.github.com/repos/stepchowfun/effects/issues/events{/number}","events_url":"https://api.github.com/repos/stepchowfun/effects/events","assignees_url":"https://api.github.com/repos/stepchowfun/effects/assignees{/user}","branches_url":"https://api.github.com/repos/stepchowfun/effects/branches{/branch}","tags_url":"https://api.github.com/repos/stepchowfun/effects/tags","blobs_url":"https://api.github.com/repos/stepchowfun/effects/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stepchowfun/effects/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stepchowfun/effects/git/refs{/sha}","trees_url":"https://api.github.com/repos/stepchowfun/effects/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stepchowfun/effects/statuses/{sha}","languages_url":"https://api.github.com/repos/stepchowfun/effects/languages","stargazers_url":"https://api.github.com/repos/stepchowfun/effects/stargazers","contributors_url":"https://api.github.com/repos/stepchowfun/effects/contributors","subscribers_url":"https://api.github.com/repos/stepchowfun/effects/subscribers","subscription_url":"https://api.github.com/repos/stepchowfun/effects/subscription","commits_url":"https://api.github.com/repos/stepchowfun/effects/commits{/sha}","git_commits_url":"https://api.github.com/repos/stepchowfun/effects/git/commits{/sha}","comments_url":"https://api.github.com/repos/stepchowfun/effects/comments{/number}","issue_comment_url":"https://api.github.com/repos/stepchowfun/effects/issues/comments{/number}","contents_url":"https://api.github.com/repos/stepchowfun/effects/contents/{+path}","compare_url":"https://api.github.com/repos/stepchowfun/effects/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stepchowfun/effects/merges","archive_url":"https://api.github.com/repos/stepchowfun/effects/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stepchowfun/effects/downloads","issues_url":"https://api.github.com/repos/stepchowfun/effects/issues{/number}","pulls_url":"https://api.github.com/repos/stepchowfun/effects/pulls{/number}","milestones_url":"https://api.github.com/repos/stepchowfun/effects/milestones{/number}","notifications_url":"https://api.github.com/repos/stepchowfun/effects/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stepchowfun/effects/labels{/name}","releases_url":"https://api.github.com/repos/stepchowfun/effects/releases{/id}","deployments_url":"https://api.github.com/repos/stepchowfun/effects/deployments","created_at":"2018-03-21T11:43:58Z","updated_at":"2018-09-09T01:20:35Z","pushed_at":"2018-09-09T19:43:33Z","git_url":"git://github.com/stepchowfun/effects.git","ssh_url":"git@github.com:stepchowfun/effects.git","clone_url":"https://github.com/stepchowfun/effects.git","svn_url":"https://github.com/stepchowfun/effects","homepage":"","size":41,"stargazers_count":29,"watchers_count":29,"language":"Haskell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":4,"open_issues":1,"watchers":29,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/stepchowfun/effects/pulls/27"},"html":{"href":"https://github.com/stepchowfun/effects/pull/27"},"issue":{"href":"https://api.github.com/repos/stepchowfun/effects/issues/27"},"comments":{"href":"https://api.github.com/repos/stepchowfun/effects/issues/27/comments"},"review_comments":{"href":"https://api.github.com/repos/stepchowfun/effects/pulls/27/comments"},"review_comment":{"href":"https://api.github.com/repos/stepchowfun/effects/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/stepchowfun/effects/pulls/27/commits"},"statuses":{"href":"https://api.github.com/repos/stepchowfun/effects/statuses/49ae1caf1811a2faeb6fe40ffd5be987e7769866"}},"author_association":"OWNER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"stepchowfun","id":796574,"node_id":"MDQ6VXNlcjc5NjU3NA==","avatar_url":"https://avatars1.githubusercontent.com/u/796574?v=4","gravatar_id":"","url":"https://api.github.com/users/stepchowfun","html_url":"https://github.com/stepchowfun","followers_url":"https://api.github.com/users/stepchowfun/followers","following_url":"https://api.github.com/users/stepchowfun/following{/other_user}","gists_url":"https://api.github.com/users/stepchowfun/gists{/gist_id}","starred_url":"https://api.github.com/users/stepchowfun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stepchowfun/subscriptions","organizations_url":"https://api.github.com/users/stepchowfun/orgs","repos_url":"https://api.github.com/users/stepchowfun/repos","events_url":"https://api.github.com/users/stepchowfun/events{/privacy}","received_events_url":"https://api.github.com/users/stepchowfun/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":17,"deletions":8,"changed_files":1}}
{"actor":{"display_login":"stepchowfun"}}