{"action":"created","comment":{"url":"https://api.github.com/repos/arrow-kt/arrow/pulls/comments/234449899","pull_request_review_id":176094534,"id":234449899,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNDQ0OTg5OQ==","diff_hunk":"@@ -22,16 +22,16 @@ interface Console<F> {\n }\n \n class ConsoleInstance<F>(val delay: MonadDefer<F>) : Console<F> {\n-    override fun putStrLn(s: String): Kind<F, Unit> = delay { println(s) }\n-    override fun getStrLn(): Kind<F, String> = delay { readLine().orEmpty() }\n+    override fun putStrLn(s: String): Kind<F, Unit> = delay.delay { println(s) }\n+    override fun getStrLn(): Kind<F, String> = delay.delay { readLine().orEmpty() }","path":"modules/docs/arrow-examples/src/test/kotlin/arrow/FpToTheMax.kt","position":7,"original_position":7,"commit_id":"ecf0b149ac18a9eee729b9f1bdc17adb2a40edc8","original_commit_id":"ecf0b149ac18a9eee729b9f1bdc17adb2a40edc8","user":{"login":"raulraja","id":456796,"node_id":"MDQ6VXNlcjQ1Njc5Ng==","avatar_url":"https://avatars3.githubusercontent.com/u/456796?v=4","gravatar_id":"","url":"https://api.github.com/users/raulraja","html_url":"https://github.com/raulraja","followers_url":"https://api.github.com/users/raulraja/followers","following_url":"https://api.github.com/users/raulraja/following{/other_user}","gists_url":"https://api.github.com/users/raulraja/gists{/gist_id}","starred_url":"https://api.github.com/users/raulraja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raulraja/subscriptions","organizations_url":"https://api.github.com/users/raulraja/orgs","repos_url":"https://api.github.com/users/raulraja/repos","events_url":"https://api.github.com/users/raulraja/events{/privacy}","received_events_url":"https://api.github.com/users/raulraja/received_events","type":"User","site_admin":false},"body":"No need to call the instance name delay anymore","created_at":"2018-11-18T15:41:54Z","updated_at":"2018-11-18T15:43:30Z","html_url":"https://github.com/arrow-kt/arrow/pull/1136#discussion_r234449899","pull_request_url":"https://api.github.com/repos/arrow-kt/arrow/pulls/1136","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/arrow-kt/arrow/pulls/comments/234449899"},"html":{"href":"https://github.com/arrow-kt/arrow/pull/1136#discussion_r234449899"},"pull_request":{"href":"https://api.github.com/repos/arrow-kt/arrow/pulls/1136"}}},"pull_request":{"url":"https://api.github.com/repos/arrow-kt/arrow/pulls/1136","id":231794233,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMxNzk0MjMz","html_url":"https://github.com/arrow-kt/arrow/pull/1136","diff_url":"https://github.com/arrow-kt/arrow/pull/1136.diff","patch_url":"https://github.com/arrow-kt/arrow/pull/1136.patch","issue_url":"https://api.github.com/repos/arrow-kt/arrow/issues/1136","number":1136,"state":"open","locked":false,"title":"Deprecate `invoke`, add a `delay` function that does the same thing","user":{"login":"LordRaydenMK","id":2397297,"node_id":"MDQ6VXNlcjIzOTcyOTc=","avatar_url":"https://avatars2.githubusercontent.com/u/2397297?v=4","gravatar_id":"","url":"https://api.github.com/users/LordRaydenMK","html_url":"https://github.com/LordRaydenMK","followers_url":"https://api.github.com/users/LordRaydenMK/followers","following_url":"https://api.github.com/users/LordRaydenMK/following{/other_user}","gists_url":"https://api.github.com/users/LordRaydenMK/gists{/gist_id}","starred_url":"https://api.github.com/users/LordRaydenMK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LordRaydenMK/subscriptions","organizations_url":"https://api.github.com/users/LordRaydenMK/orgs","repos_url":"https://api.github.com/users/LordRaydenMK/repos","events_url":"https://api.github.com/users/LordRaydenMK/events{/privacy}","received_events_url":"https://api.github.com/users/LordRaydenMK/received_events","type":"User","site_admin":false},"body":"Fixes #1135\r\n\r\nthe `delay` has the same implementation as the `invoke` operator.\r\nI added `@Deprecated` with `@ReplaceWith` to the `invoke` operator. \r\nI replaced all usages of `invoke` with `delay` (that I could find).\r\n\r\nIs that all? Or am I missing something?\r\n\r\nNote:\r\nWhen I run the tests with `./gradlew test` (both before and after this change) a test inside `IOTests` fails. If I run trough IntelliJ only for that class, everything works fine. Is this a know issue? Should I report a bug?","created_at":"2018-11-18T15:14:47Z","updated_at":"2018-11-18T15:43:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0ed0074d4db6a35b7923994094817e8ef26155ff","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/arrow-kt/arrow/pulls/1136/commits","review_comments_url":"https://api.github.com/repos/arrow-kt/arrow/pulls/1136/comments","review_comment_url":"https://api.github.com/repos/arrow-kt/arrow/pulls/comments{/number}","comments_url":"https://api.github.com/repos/arrow-kt/arrow/issues/1136/comments","statuses_url":"https://api.github.com/repos/arrow-kt/arrow/statuses/ecf0b149ac18a9eee729b9f1bdc17adb2a40edc8","head":{"label":"LordRaydenMK:stojan_monad_error_replace_invoke","ref":"stojan_monad_error_replace_invoke","sha":"ecf0b149ac18a9eee729b9f1bdc17adb2a40edc8","user":{"login":"LordRaydenMK","id":2397297,"node_id":"MDQ6VXNlcjIzOTcyOTc=","avatar_url":"https://avatars2.githubusercontent.com/u/2397297?v=4","gravatar_id":"","url":"https://api.github.com/users/LordRaydenMK","html_url":"https://github.com/LordRaydenMK","followers_url":"https://api.github.com/users/LordRaydenMK/followers","following_url":"https://api.github.com/users/LordRaydenMK/following{/other_user}","gists_url":"https://api.github.com/users/LordRaydenMK/gists{/gist_id}","starred_url":"https://api.github.com/users/LordRaydenMK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LordRaydenMK/subscriptions","organizations_url":"https://api.github.com/users/LordRaydenMK/orgs","repos_url":"https://api.github.com/users/LordRaydenMK/repos","events_url":"https://api.github.com/users/LordRaydenMK/events{/privacy}","received_events_url":"https://api.github.com/users/LordRaydenMK/received_events","type":"User","site_admin":false},"repo":{"id":157443888,"node_id":"MDEwOlJlcG9zaXRvcnkxNTc0NDM4ODg=","name":"arrow","full_name":"LordRaydenMK/arrow","private":false,"owner":{"login":"LordRaydenMK","id":2397297,"node_id":"MDQ6VXNlcjIzOTcyOTc=","avatar_url":"https://avatars2.githubusercontent.com/u/2397297?v=4","gravatar_id":"","url":"https://api.github.com/users/LordRaydenMK","html_url":"https://github.com/LordRaydenMK","followers_url":"https://api.github.com/users/LordRaydenMK/followers","following_url":"https://api.github.com/users/LordRaydenMK/following{/other_user}","gists_url":"https://api.github.com/users/LordRaydenMK/gists{/gist_id}","starred_url":"https://api.github.com/users/LordRaydenMK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LordRaydenMK/subscriptions","organizations_url":"https://api.github.com/users/LordRaydenMK/orgs","repos_url":"https://api.github.com/users/LordRaydenMK/repos","events_url":"https://api.github.com/users/LordRaydenMK/events{/privacy}","received_events_url":"https://api.github.com/users/LordRaydenMK/received_events","type":"User","site_admin":false},"html_url":"https://github.com/LordRaydenMK/arrow","description":"Functional companion to Kotlin's Standard Library","fork":true,"url":"https://api.github.com/repos/LordRaydenMK/arrow","forks_url":"https://api.github.com/repos/LordRaydenMK/arrow/forks","keys_url":"https://api.github.com/repos/LordRaydenMK/arrow/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LordRaydenMK/arrow/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LordRaydenMK/arrow/teams","hooks_url":"https://api.github.com/repos/LordRaydenMK/arrow/hooks","issue_events_url":"https://api.github.com/repos/LordRaydenMK/arrow/issues/events{/number}","events_url":"https://api.github.com/repos/LordRaydenMK/arrow/events","assignees_url":"https://api.github.com/repos/LordRaydenMK/arrow/assignees{/user}","branches_url":"https://api.github.com/repos/LordRaydenMK/arrow/branches{/branch}","tags_url":"https://api.github.com/repos/LordRaydenMK/arrow/tags","blobs_url":"https://api.github.com/repos/LordRaydenMK/arrow/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LordRaydenMK/arrow/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LordRaydenMK/arrow/git/refs{/sha}","trees_url":"https://api.github.com/repos/LordRaydenMK/arrow/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LordRaydenMK/arrow/statuses/{sha}","languages_url":"https://api.github.com/repos/LordRaydenMK/arrow/languages","stargazers_url":"https://api.github.com/repos/LordRaydenMK/arrow/stargazers","contributors_url":"https://api.github.com/repos/LordRaydenMK/arrow/contributors","subscribers_url":"https://api.github.com/repos/LordRaydenMK/arrow/subscribers","subscription_url":"https://api.github.com/repos/LordRaydenMK/arrow/subscription","commits_url":"https://api.github.com/repos/LordRaydenMK/arrow/commits{/sha}","git_commits_url":"https://api.github.com/repos/LordRaydenMK/arrow/git/commits{/sha}","comments_url":"https://api.github.com/repos/LordRaydenMK/arrow/comments{/number}","issue_comment_url":"https://api.github.com/repos/LordRaydenMK/arrow/issues/comments{/number}","contents_url":"https://api.github.com/repos/LordRaydenMK/arrow/contents/{+path}","compare_url":"https://api.github.com/repos/LordRaydenMK/arrow/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LordRaydenMK/arrow/merges","archive_url":"https://api.github.com/repos/LordRaydenMK/arrow/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LordRaydenMK/arrow/downloads","issues_url":"https://api.github.com/repos/LordRaydenMK/arrow/issues{/number}","pulls_url":"https://api.github.com/repos/LordRaydenMK/arrow/pulls{/number}","milestones_url":"https://api.github.com/repos/LordRaydenMK/arrow/milestones{/number}","notifications_url":"https://api.github.com/repos/LordRaydenMK/arrow/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LordRaydenMK/arrow/labels{/name}","releases_url":"https://api.github.com/repos/LordRaydenMK/arrow/releases{/id}","deployments_url":"https://api.github.com/repos/LordRaydenMK/arrow/deployments","created_at":"2018-11-13T20:43:42Z","updated_at":"2018-11-18T10:13:10Z","pushed_at":"2018-11-18T15:07:56Z","git_url":"git://github.com/LordRaydenMK/arrow.git","ssh_url":"git@github.com:LordRaydenMK/arrow.git","clone_url":"https://github.com/LordRaydenMK/arrow.git","svn_url":"https://github.com/LordRaydenMK/arrow","homepage":"http://arrow-kt.io","size":9659,"stargazers_count":0,"watchers_count":0,"language":"Kotlin","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"arrow-kt:master","ref":"master","sha":"3d7d4ced44e2871592398864121900e6bffbd852","user":{"login":"arrow-kt","id":29458023,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5NDU4MDIz","avatar_url":"https://avatars1.githubusercontent.com/u/29458023?v=4","gravatar_id":"","url":"https://api.github.com/users/arrow-kt","html_url":"https://github.com/arrow-kt","followers_url":"https://api.github.com/users/arrow-kt/followers","following_url":"https://api.github.com/users/arrow-kt/following{/other_user}","gists_url":"https://api.github.com/users/arrow-kt/gists{/gist_id}","starred_url":"https://api.github.com/users/arrow-kt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arrow-kt/subscriptions","organizations_url":"https://api.github.com/users/arrow-kt/orgs","repos_url":"https://api.github.com/users/arrow-kt/repos","events_url":"https://api.github.com/users/arrow-kt/events{/privacy}","received_events_url":"https://api.github.com/users/arrow-kt/received_events","type":"Organization","site_admin":false},"repo":{"id":86057409,"node_id":"MDEwOlJlcG9zaXRvcnk4NjA1NzQwOQ==","name":"arrow","full_name":"arrow-kt/arrow","private":false,"owner":{"login":"arrow-kt","id":29458023,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5NDU4MDIz","avatar_url":"https://avatars1.githubusercontent.com/u/29458023?v=4","gravatar_id":"","url":"https://api.github.com/users/arrow-kt","html_url":"https://github.com/arrow-kt","followers_url":"https://api.github.com/users/arrow-kt/followers","following_url":"https://api.github.com/users/arrow-kt/following{/other_user}","gists_url":"https://api.github.com/users/arrow-kt/gists{/gist_id}","starred_url":"https://api.github.com/users/arrow-kt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arrow-kt/subscriptions","organizations_url":"https://api.github.com/users/arrow-kt/orgs","repos_url":"https://api.github.com/users/arrow-kt/repos","events_url":"https://api.github.com/users/arrow-kt/events{/privacy}","received_events_url":"https://api.github.com/users/arrow-kt/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/arrow-kt/arrow","description":"Functional companion to Kotlin's Standard Library","fork":false,"url":"https://api.github.com/repos/arrow-kt/arrow","forks_url":"https://api.github.com/repos/arrow-kt/arrow/forks","keys_url":"https://api.github.com/repos/arrow-kt/arrow/keys{/key_id}","collaborators_url":"https://api.github.com/repos/arrow-kt/arrow/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/arrow-kt/arrow/teams","hooks_url":"https://api.github.com/repos/arrow-kt/arrow/hooks","issue_events_url":"https://api.github.com/repos/arrow-kt/arrow/issues/events{/number}","events_url":"https://api.github.com/repos/arrow-kt/arrow/events","assignees_url":"https://api.github.com/repos/arrow-kt/arrow/assignees{/user}","branches_url":"https://api.github.com/repos/arrow-kt/arrow/branches{/branch}","tags_url":"https://api.github.com/repos/arrow-kt/arrow/tags","blobs_url":"https://api.github.com/repos/arrow-kt/arrow/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/arrow-kt/arrow/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/arrow-kt/arrow/git/refs{/sha}","trees_url":"https://api.github.com/repos/arrow-kt/arrow/git/trees{/sha}","statuses_url":"https://api.github.com/repos/arrow-kt/arrow/statuses/{sha}","languages_url":"https://api.github.com/repos/arrow-kt/arrow/languages","stargazers_url":"https://api.github.com/repos/arrow-kt/arrow/stargazers","contributors_url":"https://api.github.com/repos/arrow-kt/arrow/contributors","subscribers_url":"https://api.github.com/repos/arrow-kt/arrow/subscribers","subscription_url":"https://api.github.com/repos/arrow-kt/arrow/subscription","commits_url":"https://api.github.com/repos/arrow-kt/arrow/commits{/sha}","git_commits_url":"https://api.github.com/repos/arrow-kt/arrow/git/commits{/sha}","comments_url":"https://api.github.com/repos/arrow-kt/arrow/comments{/number}","issue_comment_url":"https://api.github.com/repos/arrow-kt/arrow/issues/comments{/number}","contents_url":"https://api.github.com/repos/arrow-kt/arrow/contents/{+path}","compare_url":"https://api.github.com/repos/arrow-kt/arrow/compare/{base}...{head}","merges_url":"https://api.github.com/repos/arrow-kt/arrow/merges","archive_url":"https://api.github.com/repos/arrow-kt/arrow/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/arrow-kt/arrow/downloads","issues_url":"https://api.github.com/repos/arrow-kt/arrow/issues{/number}","pulls_url":"https://api.github.com/repos/arrow-kt/arrow/pulls{/number}","milestones_url":"https://api.github.com/repos/arrow-kt/arrow/milestones{/number}","notifications_url":"https://api.github.com/repos/arrow-kt/arrow/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/arrow-kt/arrow/labels{/name}","releases_url":"https://api.github.com/repos/arrow-kt/arrow/releases{/id}","deployments_url":"https://api.github.com/repos/arrow-kt/arrow/deployments","created_at":"2017-03-24T10:43:11Z","updated_at":"2018-11-18T01:55:04Z","pushed_at":"2018-11-18T15:14:48Z","git_url":"git://github.com/arrow-kt/arrow.git","ssh_url":"git@github.com:arrow-kt/arrow.git","clone_url":"https://github.com/arrow-kt/arrow.git","svn_url":"https://github.com/arrow-kt/arrow","homepage":"http://arrow-kt.io","size":9502,"stargazers_count":2107,"watchers_count":2107,"language":"Kotlin","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":165,"mirror_url":null,"archived":false,"open_issues_count":183,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":165,"open_issues":183,"watchers":2107,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/arrow-kt/arrow/pulls/1136"},"html":{"href":"https://github.com/arrow-kt/arrow/pull/1136"},"issue":{"href":"https://api.github.com/repos/arrow-kt/arrow/issues/1136"},"comments":{"href":"https://api.github.com/repos/arrow-kt/arrow/issues/1136/comments"},"review_comments":{"href":"https://api.github.com/repos/arrow-kt/arrow/pulls/1136/comments"},"review_comment":{"href":"https://api.github.com/repos/arrow-kt/arrow/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/arrow-kt/arrow/pulls/1136/commits"},"statuses":{"href":"https://api.github.com/repos/arrow-kt/arrow/statuses/ecf0b149ac18a9eee729b9f1bdc17adb2a40edc8"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"raulraja"}}