{"action":"created","comment":{"url":"https://api.github.com/repos/dancingrobot84/purescript-express/pulls/comments/43850712","id":43850712,"diff_hunk":"@@ -22,119 +22,118 @@ import Node.Express.Internal.App\n import Node.Express.Handler\n \n \n+-- | Monad responsible for application related operations (initial setup mostly).\n+data AppM e a = AppM (Application -> Eff e a)","path":"src/Node/Express/App.purs","position":5,"original_position":5,"commit_id":"2342ecc9dba3c36feba9658ad407a97d60ca5450","original_commit_id":"2342ecc9dba3c36feba9658ad407a97d60ca5450","user":{"login":"dancingrobot84","id":153210,"avatar_url":"https://avatars.githubusercontent.com/u/153210?v=3","gravatar_id":"","url":"https://api.github.com/users/dancingrobot84","html_url":"https://github.com/dancingrobot84","followers_url":"https://api.github.com/users/dancingrobot84/followers","following_url":"https://api.github.com/users/dancingrobot84/following{/other_user}","gists_url":"https://api.github.com/users/dancingrobot84/gists{/gist_id}","starred_url":"https://api.github.com/users/dancingrobot84/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dancingrobot84/subscriptions","organizations_url":"https://api.github.com/users/dancingrobot84/orgs","repos_url":"https://api.github.com/users/dancingrobot84/repos","events_url":"https://api.github.com/users/dancingrobot84/events{/privacy}","received_events_url":"https://api.github.com/users/dancingrobot84/received_events","type":"User","site_admin":false},"body":"Shouldn't here be not just `e`, but `(express :: EXPRESS | e)` on the right side?","created_at":"2015-11-04T07:45:33Z","updated_at":"2015-11-04T07:45:33Z","html_url":"https://github.com/dancingrobot84/purescript-express/pull/26#discussion_r43850712","pull_request_url":"https://api.github.com/repos/dancingrobot84/purescript-express/pulls/26","_links":{"self":{"href":"https://api.github.com/repos/dancingrobot84/purescript-express/pulls/comments/43850712"},"html":{"href":"https://github.com/dancingrobot84/purescript-express/pull/26#discussion_r43850712"},"pull_request":{"href":"https://api.github.com/repos/dancingrobot84/purescript-express/pulls/26"}}},"pull_request":{"url":"https://api.github.com/repos/dancingrobot84/purescript-express/pulls/26","id":41223307,"html_url":"https://github.com/dancingrobot84/purescript-express/pull/26","diff_url":"https://github.com/dancingrobot84/purescript-express/pull/26.diff","patch_url":"https://github.com/dancingrobot84/purescript-express/pull/26.patch","issue_url":"https://api.github.com/repos/dancingrobot84/purescript-express/issues/26","number":26,"state":"open","locked":false,"title":"Use Aff (fixes #15)","user":{"login":"anttih","id":308,"avatar_url":"https://avatars.githubusercontent.com/u/308?v=3","gravatar_id":"","url":"https://api.github.com/users/anttih","html_url":"https://github.com/anttih","followers_url":"https://api.github.com/users/anttih/followers","following_url":"https://api.github.com/users/anttih/following{/other_user}","gists_url":"https://api.github.com/users/anttih/gists{/gist_id}","starred_url":"https://api.github.com/users/anttih/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anttih/subscriptions","organizations_url":"https://api.github.com/users/anttih/orgs","repos_url":"https://api.github.com/users/anttih/repos","events_url":"https://api.github.com/users/anttih/events{/privacy}","received_events_url":"https://api.github.com/users/anttih/received_events","type":"User","site_admin":false},"body":"* Changes HandlerM to use Aff (asynchronous effects) instead of Eff\r\n* Adds a type parameter (`e`) for the effect rows to HandlerM to get rid of\r\n  `unsafeInterleaveEff`. Normally when writing top-level handlers one can\r\n  write:\r\n\r\n      myHandler :: forall e. Handler e\r\n\r\n  which is a type alias for\r\n\r\n      myHandler :: forall e. HandlerM (express :: EXPRESS | e) Unit\r\n\r\n* Removes `capture` as it's no longer needed. Async code can be wrapped with\r\n  Aff and `Aff` can be lifted to `HandlerM` with `liftAff`.","created_at":"2015-07-30T11:25:01Z","updated_at":"2015-11-04T07:45:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"958f78503b6521921dadf6c5fd1c7ea0b74113e8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dancingrobot84/purescript-express/pulls/26/commits","review_comments_url":"https://api.github.com/repos/dancingrobot84/purescript-express/pulls/26/comments","review_comment_url":"https://api.github.com/repos/dancingrobot84/purescript-express/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dancingrobot84/purescript-express/issues/26/comments","statuses_url":"https://api.github.com/repos/dancingrobot84/purescript-express/statuses/2342ecc9dba3c36feba9658ad407a97d60ca5450","head":{"label":"anttih:use-aff","ref":"use-aff","sha":"2342ecc9dba3c36feba9658ad407a97d60ca5450","user":{"login":"anttih","id":308,"avatar_url":"https://avatars.githubusercontent.com/u/308?v=3","gravatar_id":"","url":"https://api.github.com/users/anttih","html_url":"https://github.com/anttih","followers_url":"https://api.github.com/users/anttih/followers","following_url":"https://api.github.com/users/anttih/following{/other_user}","gists_url":"https://api.github.com/users/anttih/gists{/gist_id}","starred_url":"https://api.github.com/users/anttih/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anttih/subscriptions","organizations_url":"https://api.github.com/users/anttih/orgs","repos_url":"https://api.github.com/users/anttih/repos","events_url":"https://api.github.com/users/anttih/events{/privacy}","received_events_url":"https://api.github.com/users/anttih/received_events","type":"User","site_admin":false},"repo":{"id":39468133,"name":"purescript-express","full_name":"anttih/purescript-express","owner":{"login":"anttih","id":308,"avatar_url":"https://avatars.githubusercontent.com/u/308?v=3","gravatar_id":"","url":"https://api.github.com/users/anttih","html_url":"https://github.com/anttih","followers_url":"https://api.github.com/users/anttih/followers","following_url":"https://api.github.com/users/anttih/following{/other_user}","gists_url":"https://api.github.com/users/anttih/gists{/gist_id}","starred_url":"https://api.github.com/users/anttih/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anttih/subscriptions","organizations_url":"https://api.github.com/users/anttih/orgs","repos_url":"https://api.github.com/users/anttih/repos","events_url":"https://api.github.com/users/anttih/events{/privacy}","received_events_url":"https://api.github.com/users/anttih/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/anttih/purescript-express","description":"Purescript wrapper around Node.js Express web-framework","fork":true,"url":"https://api.github.com/repos/anttih/purescript-express","forks_url":"https://api.github.com/repos/anttih/purescript-express/forks","keys_url":"https://api.github.com/repos/anttih/purescript-express/keys{/key_id}","collaborators_url":"https://api.github.com/repos/anttih/purescript-express/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/anttih/purescript-express/teams","hooks_url":"https://api.github.com/repos/anttih/purescript-express/hooks","issue_events_url":"https://api.github.com/repos/anttih/purescript-express/issues/events{/number}","events_url":"https://api.github.com/repos/anttih/purescript-express/events","assignees_url":"https://api.github.com/repos/anttih/purescript-express/assignees{/user}","branches_url":"https://api.github.com/repos/anttih/purescript-express/branches{/branch}","tags_url":"https://api.github.com/repos/anttih/purescript-express/tags","blobs_url":"https://api.github.com/repos/anttih/purescript-express/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/anttih/purescript-express/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/anttih/purescript-express/git/refs{/sha}","trees_url":"https://api.github.com/repos/anttih/purescript-express/git/trees{/sha}","statuses_url":"https://api.github.com/repos/anttih/purescript-express/statuses/{sha}","languages_url":"https://api.github.com/repos/anttih/purescript-express/languages","stargazers_url":"https://api.github.com/repos/anttih/purescript-express/stargazers","contributors_url":"https://api.github.com/repos/anttih/purescript-express/contributors","subscribers_url":"https://api.github.com/repos/anttih/purescript-express/subscribers","subscription_url":"https://api.github.com/repos/anttih/purescript-express/subscription","commits_url":"https://api.github.com/repos/anttih/purescript-express/commits{/sha}","git_commits_url":"https://api.github.com/repos/anttih/purescript-express/git/commits{/sha}","comments_url":"https://api.github.com/repos/anttih/purescript-express/comments{/number}","issue_comment_url":"https://api.github.com/repos/anttih/purescript-express/issues/comments{/number}","contents_url":"https://api.github.com/repos/anttih/purescript-express/contents/{+path}","compare_url":"https://api.github.com/repos/anttih/purescript-express/compare/{base}...{head}","merges_url":"https://api.github.com/repos/anttih/purescript-express/merges","archive_url":"https://api.github.com/repos/anttih/purescript-express/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/anttih/purescript-express/downloads","issues_url":"https://api.github.com/repos/anttih/purescript-express/issues{/number}","pulls_url":"https://api.github.com/repos/anttih/purescript-express/pulls{/number}","milestones_url":"https://api.github.com/repos/anttih/purescript-express/milestones{/number}","notifications_url":"https://api.github.com/repos/anttih/purescript-express/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/anttih/purescript-express/labels{/name}","releases_url":"https://api.github.com/repos/anttih/purescript-express/releases{/id}","created_at":"2015-07-21T20:25:23Z","updated_at":"2015-07-21T20:25:24Z","pushed_at":"2015-11-03T06:07:57Z","git_url":"git://github.com/anttih/purescript-express.git","ssh_url":"git@github.com:anttih/purescript-express.git","clone_url":"https://github.com/anttih/purescript-express.git","svn_url":"https://github.com/anttih/purescript-express","homepage":null,"size":225,"stargazers_count":0,"watchers_count":0,"language":"PureScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"dancingrobot84:master","ref":"master","sha":"9f067e19f5b4c942bbb055ed562b2a756fc0c50a","user":{"login":"dancingrobot84","id":153210,"avatar_url":"https://avatars.githubusercontent.com/u/153210?v=3","gravatar_id":"","url":"https://api.github.com/users/dancingrobot84","html_url":"https://github.com/dancingrobot84","followers_url":"https://api.github.com/users/dancingrobot84/followers","following_url":"https://api.github.com/users/dancingrobot84/following{/other_user}","gists_url":"https://api.github.com/users/dancingrobot84/gists{/gist_id}","starred_url":"https://api.github.com/users/dancingrobot84/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dancingrobot84/subscriptions","organizations_url":"https://api.github.com/users/dancingrobot84/orgs","repos_url":"https://api.github.com/users/dancingrobot84/repos","events_url":"https://api.github.com/users/dancingrobot84/events{/privacy}","received_events_url":"https://api.github.com/users/dancingrobot84/received_events","type":"User","site_admin":false},"repo":{"id":21659052,"name":"purescript-express","full_name":"dancingrobot84/purescript-express","owner":{"login":"dancingrobot84","id":153210,"avatar_url":"https://avatars.githubusercontent.com/u/153210?v=3","gravatar_id":"","url":"https://api.github.com/users/dancingrobot84","html_url":"https://github.com/dancingrobot84","followers_url":"https://api.github.com/users/dancingrobot84/followers","following_url":"https://api.github.com/users/dancingrobot84/following{/other_user}","gists_url":"https://api.github.com/users/dancingrobot84/gists{/gist_id}","starred_url":"https://api.github.com/users/dancingrobot84/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dancingrobot84/subscriptions","organizations_url":"https://api.github.com/users/dancingrobot84/orgs","repos_url":"https://api.github.com/users/dancingrobot84/repos","events_url":"https://api.github.com/users/dancingrobot84/events{/privacy}","received_events_url":"https://api.github.com/users/dancingrobot84/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dancingrobot84/purescript-express","description":"Purescript wrapper for Express.js","fork":false,"url":"https://api.github.com/repos/dancingrobot84/purescript-express","forks_url":"https://api.github.com/repos/dancingrobot84/purescript-express/forks","keys_url":"https://api.github.com/repos/dancingrobot84/purescript-express/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dancingrobot84/purescript-express/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dancingrobot84/purescript-express/teams","hooks_url":"https://api.github.com/repos/dancingrobot84/purescript-express/hooks","issue_events_url":"https://api.github.com/repos/dancingrobot84/purescript-express/issues/events{/number}","events_url":"https://api.github.com/repos/dancingrobot84/purescript-express/events","assignees_url":"https://api.github.com/repos/dancingrobot84/purescript-express/assignees{/user}","branches_url":"https://api.github.com/repos/dancingrobot84/purescript-express/branches{/branch}","tags_url":"https://api.github.com/repos/dancingrobot84/purescript-express/tags","blobs_url":"https://api.github.com/repos/dancingrobot84/purescript-express/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dancingrobot84/purescript-express/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dancingrobot84/purescript-express/git/refs{/sha}","trees_url":"https://api.github.com/repos/dancingrobot84/purescript-express/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dancingrobot84/purescript-express/statuses/{sha}","languages_url":"https://api.github.com/repos/dancingrobot84/purescript-express/languages","stargazers_url":"https://api.github.com/repos/dancingrobot84/purescript-express/stargazers","contributors_url":"https://api.github.com/repos/dancingrobot84/purescript-express/contributors","subscribers_url":"https://api.github.com/repos/dancingrobot84/purescript-express/subscribers","subscription_url":"https://api.github.com/repos/dancingrobot84/purescript-express/subscription","commits_url":"https://api.github.com/repos/dancingrobot84/purescript-express/commits{/sha}","git_commits_url":"https://api.github.com/repos/dancingrobot84/purescript-express/git/commits{/sha}","comments_url":"https://api.github.com/repos/dancingrobot84/purescript-express/comments{/number}","issue_comment_url":"https://api.github.com/repos/dancingrobot84/purescript-express/issues/comments{/number}","contents_url":"https://api.github.com/repos/dancingrobot84/purescript-express/contents/{+path}","compare_url":"https://api.github.com/repos/dancingrobot84/purescript-express/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dancingrobot84/purescript-express/merges","archive_url":"https://api.github.com/repos/dancingrobot84/purescript-express/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dancingrobot84/purescript-express/downloads","issues_url":"https://api.github.com/repos/dancingrobot84/purescript-express/issues{/number}","pulls_url":"https://api.github.com/repos/dancingrobot84/purescript-express/pulls{/number}","milestones_url":"https://api.github.com/repos/dancingrobot84/purescript-express/milestones{/number}","notifications_url":"https://api.github.com/repos/dancingrobot84/purescript-express/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dancingrobot84/purescript-express/labels{/name}","releases_url":"https://api.github.com/repos/dancingrobot84/purescript-express/releases{/id}","created_at":"2014-07-09T16:03:48Z","updated_at":"2015-10-19T20:37:58Z","pushed_at":"2015-11-03T06:07:57Z","git_url":"git://github.com/dancingrobot84/purescript-express.git","ssh_url":"git@github.com:dancingrobot84/purescript-express.git","clone_url":"https://github.com/dancingrobot84/purescript-express.git","svn_url":"https://github.com/dancingrobot84/purescript-express","homepage":"","size":647,"stargazers_count":37,"watchers_count":37,"language":"PureScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":10,"forks":7,"open_issues":10,"watchers":37,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dancingrobot84/purescript-express/pulls/26"},"html":{"href":"https://github.com/dancingrobot84/purescript-express/pull/26"},"issue":{"href":"https://api.github.com/repos/dancingrobot84/purescript-express/issues/26"},"comments":{"href":"https://api.github.com/repos/dancingrobot84/purescript-express/issues/26/comments"},"review_comments":{"href":"https://api.github.com/repos/dancingrobot84/purescript-express/pulls/26/comments"},"review_comment":{"href":"https://api.github.com/repos/dancingrobot84/purescript-express/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dancingrobot84/purescript-express/pulls/26/commits"},"statuses":{"href":"https://api.github.com/repos/dancingrobot84/purescript-express/statuses/2342ecc9dba3c36feba9658ad407a97d60ca5450"}}}}