{"action":"created","comment":{"url":"https://api.github.com/repos/thoughtbot/Runes/pulls/comments/49186607","id":49186607,"diff_hunk":"@@ -0,0 +1,128 @@\n+import SwiftCheck\n+import XCTest\n+import Runes\n+\n+\n+class CPSSpec: XCTestCase {\n+    func testFunctor() {\n+        // fmap id = id\n+        property(\"identity law\") <- forAll { (x: CPSOf<Int>) in\n+            let lhs = id <^> x.getAsync\n+            let rhs = x.getAsync\n+\n+            return lhs == rhs\n+        }\n+\n+        // fmap (f . g) = (fmap f) . (fmap g)\n+        property(\"function composition law\") <- forAll { (o: CPSOf<Int>, fa: ArrowOf<Int, Int>, fb: ArrowOf<Int, Int>) in","path":"Tests/Tests/CPSSpec.swift","position":17,"original_position":17,"commit_id":"c1489c1c23e022647557bc02b6673634275516c5","original_commit_id":"c1489c1c23e022647557bc02b6673634275516c5","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Line Length Violation: Line should be 100 characters or less: currently 121 characters (line_length)","created_at":"2016-01-08T13:17:09Z","updated_at":"2016-01-08T13:17:09Z","html_url":"https://github.com/thoughtbot/Runes/pull/53#discussion_r49186607","pull_request_url":"https://api.github.com/repos/thoughtbot/Runes/pulls/53","_links":{"self":{"href":"https://api.github.com/repos/thoughtbot/Runes/pulls/comments/49186607"},"html":{"href":"https://github.com/thoughtbot/Runes/pull/53#discussion_r49186607"},"pull_request":{"href":"https://api.github.com/repos/thoughtbot/Runes/pulls/53"}}},"pull_request":{"url":"https://api.github.com/repos/thoughtbot/Runes/pulls/53","id":47337017,"html_url":"https://github.com/thoughtbot/Runes/pull/53","diff_url":"https://github.com/thoughtbot/Runes/pull/53.diff","patch_url":"https://github.com/thoughtbot/Runes/pull/53.patch","issue_url":"https://api.github.com/repos/thoughtbot/Runes/issues/53","number":53,"state":"open","locked":false,"title":"Adding CPS functions","user":{"login":"lingoer","id":3095758,"avatar_url":"https://avatars.githubusercontent.com/u/3095758?v=3","gravatar_id":"","url":"https://api.github.com/users/lingoer","html_url":"https://github.com/lingoer","followers_url":"https://api.github.com/users/lingoer/followers","following_url":"https://api.github.com/users/lingoer/following{/other_user}","gists_url":"https://api.github.com/users/lingoer/gists{/gist_id}","starred_url":"https://api.github.com/users/lingoer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lingoer/subscriptions","organizations_url":"https://api.github.com/users/lingoer/orgs","repos_url":"https://api.github.com/users/lingoer/repos","events_url":"https://api.github.com/users/lingoer/events{/privacy}","received_events_url":"https://api.github.com/users/lingoer/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-10-10T04:00:15Z","updated_at":"2016-01-08T13:17:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a3aa46f12995d543b2975a823b4c9156596221b2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/thoughtbot/Runes/pulls/53/commits","review_comments_url":"https://api.github.com/repos/thoughtbot/Runes/pulls/53/comments","review_comment_url":"https://api.github.com/repos/thoughtbot/Runes/pulls/comments{/number}","comments_url":"https://api.github.com/repos/thoughtbot/Runes/issues/53/comments","statuses_url":"https://api.github.com/repos/thoughtbot/Runes/statuses/c1489c1c23e022647557bc02b6673634275516c5","head":{"label":"lingoer:master","ref":"master","sha":"c1489c1c23e022647557bc02b6673634275516c5","user":{"login":"lingoer","id":3095758,"avatar_url":"https://avatars.githubusercontent.com/u/3095758?v=3","gravatar_id":"","url":"https://api.github.com/users/lingoer","html_url":"https://github.com/lingoer","followers_url":"https://api.github.com/users/lingoer/followers","following_url":"https://api.github.com/users/lingoer/following{/other_user}","gists_url":"https://api.github.com/users/lingoer/gists{/gist_id}","starred_url":"https://api.github.com/users/lingoer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lingoer/subscriptions","organizations_url":"https://api.github.com/users/lingoer/orgs","repos_url":"https://api.github.com/users/lingoer/repos","events_url":"https://api.github.com/users/lingoer/events{/privacy}","received_events_url":"https://api.github.com/users/lingoer/received_events","type":"User","site_admin":false},"repo":{"id":43934005,"name":"Runes","full_name":"lingoer/Runes","owner":{"login":"lingoer","id":3095758,"avatar_url":"https://avatars.githubusercontent.com/u/3095758?v=3","gravatar_id":"","url":"https://api.github.com/users/lingoer","html_url":"https://github.com/lingoer","followers_url":"https://api.github.com/users/lingoer/followers","following_url":"https://api.github.com/users/lingoer/following{/other_user}","gists_url":"https://api.github.com/users/lingoer/gists{/gist_id}","starred_url":"https://api.github.com/users/lingoer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lingoer/subscriptions","organizations_url":"https://api.github.com/users/lingoer/orgs","repos_url":"https://api.github.com/users/lingoer/repos","events_url":"https://api.github.com/users/lingoer/events{/privacy}","received_events_url":"https://api.github.com/users/lingoer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lingoer/Runes","description":"Infix operators for monadic functions in Swift","fork":true,"url":"https://api.github.com/repos/lingoer/Runes","forks_url":"https://api.github.com/repos/lingoer/Runes/forks","keys_url":"https://api.github.com/repos/lingoer/Runes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lingoer/Runes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lingoer/Runes/teams","hooks_url":"https://api.github.com/repos/lingoer/Runes/hooks","issue_events_url":"https://api.github.com/repos/lingoer/Runes/issues/events{/number}","events_url":"https://api.github.com/repos/lingoer/Runes/events","assignees_url":"https://api.github.com/repos/lingoer/Runes/assignees{/user}","branches_url":"https://api.github.com/repos/lingoer/Runes/branches{/branch}","tags_url":"https://api.github.com/repos/lingoer/Runes/tags","blobs_url":"https://api.github.com/repos/lingoer/Runes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lingoer/Runes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lingoer/Runes/git/refs{/sha}","trees_url":"https://api.github.com/repos/lingoer/Runes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lingoer/Runes/statuses/{sha}","languages_url":"https://api.github.com/repos/lingoer/Runes/languages","stargazers_url":"https://api.github.com/repos/lingoer/Runes/stargazers","contributors_url":"https://api.github.com/repos/lingoer/Runes/contributors","subscribers_url":"https://api.github.com/repos/lingoer/Runes/subscribers","subscription_url":"https://api.github.com/repos/lingoer/Runes/subscription","commits_url":"https://api.github.com/repos/lingoer/Runes/commits{/sha}","git_commits_url":"https://api.github.com/repos/lingoer/Runes/git/commits{/sha}","comments_url":"https://api.github.com/repos/lingoer/Runes/comments{/number}","issue_comment_url":"https://api.github.com/repos/lingoer/Runes/issues/comments{/number}","contents_url":"https://api.github.com/repos/lingoer/Runes/contents/{+path}","compare_url":"https://api.github.com/repos/lingoer/Runes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lingoer/Runes/merges","archive_url":"https://api.github.com/repos/lingoer/Runes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lingoer/Runes/downloads","issues_url":"https://api.github.com/repos/lingoer/Runes/issues{/number}","pulls_url":"https://api.github.com/repos/lingoer/Runes/pulls{/number}","milestones_url":"https://api.github.com/repos/lingoer/Runes/milestones{/number}","notifications_url":"https://api.github.com/repos/lingoer/Runes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lingoer/Runes/labels{/name}","releases_url":"https://api.github.com/repos/lingoer/Runes/releases{/id}","created_at":"2015-10-09T05:02:20Z","updated_at":"2015-10-09T05:02:21Z","pushed_at":"2016-01-08T13:17:02Z","git_url":"git://github.com/lingoer/Runes.git","ssh_url":"git@github.com:lingoer/Runes.git","clone_url":"https://github.com/lingoer/Runes.git","svn_url":"https://github.com/lingoer/Runes","homepage":"https://thoughtbot.com/open-source","size":145,"stargazers_count":0,"watchers_count":0,"language":"Swift","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"thoughtbot:master","ref":"master","sha":"1bc4a29eee07d14dc8ad9ff43191dd61f4ea6f5c","user":{"login":"thoughtbot","id":6183,"avatar_url":"https://avatars.githubusercontent.com/u/6183?v=3","gravatar_id":"","url":"https://api.github.com/users/thoughtbot","html_url":"https://github.com/thoughtbot","followers_url":"https://api.github.com/users/thoughtbot/followers","following_url":"https://api.github.com/users/thoughtbot/following{/other_user}","gists_url":"https://api.github.com/users/thoughtbot/gists{/gist_id}","starred_url":"https://api.github.com/users/thoughtbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thoughtbot/subscriptions","organizations_url":"https://api.github.com/users/thoughtbot/orgs","repos_url":"https://api.github.com/users/thoughtbot/repos","events_url":"https://api.github.com/users/thoughtbot/events{/privacy}","received_events_url":"https://api.github.com/users/thoughtbot/received_events","type":"Organization","site_admin":false},"repo":{"id":28986245,"name":"Runes","full_name":"thoughtbot/Runes","owner":{"login":"thoughtbot","id":6183,"avatar_url":"https://avatars.githubusercontent.com/u/6183?v=3","gravatar_id":"","url":"https://api.github.com/users/thoughtbot","html_url":"https://github.com/thoughtbot","followers_url":"https://api.github.com/users/thoughtbot/followers","following_url":"https://api.github.com/users/thoughtbot/following{/other_user}","gists_url":"https://api.github.com/users/thoughtbot/gists{/gist_id}","starred_url":"https://api.github.com/users/thoughtbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thoughtbot/subscriptions","organizations_url":"https://api.github.com/users/thoughtbot/orgs","repos_url":"https://api.github.com/users/thoughtbot/repos","events_url":"https://api.github.com/users/thoughtbot/events{/privacy}","received_events_url":"https://api.github.com/users/thoughtbot/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/thoughtbot/Runes","description":"Infix operators for monadic functions in Swift","fork":false,"url":"https://api.github.com/repos/thoughtbot/Runes","forks_url":"https://api.github.com/repos/thoughtbot/Runes/forks","keys_url":"https://api.github.com/repos/thoughtbot/Runes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thoughtbot/Runes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thoughtbot/Runes/teams","hooks_url":"https://api.github.com/repos/thoughtbot/Runes/hooks","issue_events_url":"https://api.github.com/repos/thoughtbot/Runes/issues/events{/number}","events_url":"https://api.github.com/repos/thoughtbot/Runes/events","assignees_url":"https://api.github.com/repos/thoughtbot/Runes/assignees{/user}","branches_url":"https://api.github.com/repos/thoughtbot/Runes/branches{/branch}","tags_url":"https://api.github.com/repos/thoughtbot/Runes/tags","blobs_url":"https://api.github.com/repos/thoughtbot/Runes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thoughtbot/Runes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thoughtbot/Runes/git/refs{/sha}","trees_url":"https://api.github.com/repos/thoughtbot/Runes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thoughtbot/Runes/statuses/{sha}","languages_url":"https://api.github.com/repos/thoughtbot/Runes/languages","stargazers_url":"https://api.github.com/repos/thoughtbot/Runes/stargazers","contributors_url":"https://api.github.com/repos/thoughtbot/Runes/contributors","subscribers_url":"https://api.github.com/repos/thoughtbot/Runes/subscribers","subscription_url":"https://api.github.com/repos/thoughtbot/Runes/subscription","commits_url":"https://api.github.com/repos/thoughtbot/Runes/commits{/sha}","git_commits_url":"https://api.github.com/repos/thoughtbot/Runes/git/commits{/sha}","comments_url":"https://api.github.com/repos/thoughtbot/Runes/comments{/number}","issue_comment_url":"https://api.github.com/repos/thoughtbot/Runes/issues/comments{/number}","contents_url":"https://api.github.com/repos/thoughtbot/Runes/contents/{+path}","compare_url":"https://api.github.com/repos/thoughtbot/Runes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thoughtbot/Runes/merges","archive_url":"https://api.github.com/repos/thoughtbot/Runes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thoughtbot/Runes/downloads","issues_url":"https://api.github.com/repos/thoughtbot/Runes/issues{/number}","pulls_url":"https://api.github.com/repos/thoughtbot/Runes/pulls{/number}","milestones_url":"https://api.github.com/repos/thoughtbot/Runes/milestones{/number}","notifications_url":"https://api.github.com/repos/thoughtbot/Runes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thoughtbot/Runes/labels{/name}","releases_url":"https://api.github.com/repos/thoughtbot/Runes/releases{/id}","created_at":"2015-01-08T21:09:23Z","updated_at":"2016-01-07T15:36:38Z","pushed_at":"2016-01-08T13:17:02Z","git_url":"git://github.com/thoughtbot/Runes.git","ssh_url":"git@github.com:thoughtbot/Runes.git","clone_url":"https://github.com/thoughtbot/Runes.git","svn_url":"https://github.com/thoughtbot/Runes","homepage":"https://thoughtbot.com/open-source","size":183,"stargazers_count":337,"watchers_count":337,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":29,"mirror_url":null,"open_issues_count":3,"forks":29,"open_issues":3,"watchers":337,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/thoughtbot/Runes/pulls/53"},"html":{"href":"https://github.com/thoughtbot/Runes/pull/53"},"issue":{"href":"https://api.github.com/repos/thoughtbot/Runes/issues/53"},"comments":{"href":"https://api.github.com/repos/thoughtbot/Runes/issues/53/comments"},"review_comments":{"href":"https://api.github.com/repos/thoughtbot/Runes/pulls/53/comments"},"review_comment":{"href":"https://api.github.com/repos/thoughtbot/Runes/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/thoughtbot/Runes/pulls/53/commits"},"statuses":{"href":"https://api.github.com/repos/thoughtbot/Runes/statuses/c1489c1c23e022647557bc02b6673634275516c5"}}}}