{"action":"created","comment":{"url":"https://api.github.com/repos/gabriel128/fp-course/pulls/comments/235589701","pull_request_review_id":177490191,"id":235589701,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNTU4OTcwMQ==","diff_hunk":"@@ -81,50 +82,50 @@ the contents of c\n \n -- Given the file name, and file contents, print them.\n -- Use @putStrLn@.\n-printFile ::\n-  FilePath\n-  -> Chars\n-  -> IO ()\n-printFile =\n-  error \"todo: Course.FileIO#printFile\"\n+printFile :: FilePath -> Chars -> IO ()\n+printFile path chars = putStrLn (\"The path: \" ++  path ++ \". The chars: \" ++ chars)\n \n -- Given a list of (file name and file contents), print each.\n -- Use @printFile@.\n-printFiles ::\n-  List (FilePath, Chars)\n-  -> IO ()\n-printFiles =\n-  error \"todo: Course.FileIO#printFiles\"\n+printFiles :: List (FilePath, Chars) -> IO ()\n+printFiles = voidSequenceMap $ uncurry printFile","path":"src/Course/FileIO.hs","position":47,"original_position":47,"commit_id":"d8641d7663cf3410fd38f7b7340316bf64644313","original_commit_id":"c6d8d9ff6df4ecd758566a2912f10a0583889f7c","user":{"login":"JulianLeviston","id":19683715,"node_id":"MDQ6VXNlcjE5NjgzNzE1","avatar_url":"https://avatars1.githubusercontent.com/u/19683715?v=4","gravatar_id":"","url":"https://api.github.com/users/JulianLeviston","html_url":"https://github.com/JulianLeviston","followers_url":"https://api.github.com/users/JulianLeviston/followers","following_url":"https://api.github.com/users/JulianLeviston/following{/other_user}","gists_url":"https://api.github.com/users/JulianLeviston/gists{/gist_id}","starred_url":"https://api.github.com/users/JulianLeviston/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JulianLeviston/subscriptions","organizations_url":"https://api.github.com/users/JulianLeviston/orgs","repos_url":"https://api.github.com/users/JulianLeviston/repos","events_url":"https://api.github.com/users/JulianLeviston/events{/privacy}","received_events_url":"https://api.github.com/users/JulianLeviston/received_events","type":"User","site_admin":false},"body":"yeah what you wrote is `voidSequenceMap (uncurry printFile)`, whereas with composition it would be `voidSequenceMap . (uncurry printFile)` so that's obvious not the same thing :)","created_at":"2018-11-22T02:56:02Z","updated_at":"2018-11-22T02:56:02Z","html_url":"https://github.com/gabriel128/fp-course/pull/4#discussion_r235589701","pull_request_url":"https://api.github.com/repos/gabriel128/fp-course/pulls/4","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/gabriel128/fp-course/pulls/comments/235589701"},"html":{"href":"https://github.com/gabriel128/fp-course/pull/4#discussion_r235589701"},"pull_request":{"href":"https://api.github.com/repos/gabriel128/fp-course/pulls/4"}},"in_reply_to_id":235564547},"pull_request":{"url":"https://api.github.com/repos/gabriel128/fp-course/pulls/4","id":232817456,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMyODE3NDU2","html_url":"https://github.com/gabriel128/fp-course/pull/4","diff_url":"https://github.com/gabriel128/fp-course/pull/4.diff","patch_url":"https://github.com/gabriel128/fp-course/pull/4.patch","issue_url":"https://api.github.com/repos/gabriel128/fp-course/issues/4","number":4,"state":"open","locked":false,"title":"FileIO","user":{"login":"gabriel128","id":2847315,"node_id":"MDQ6VXNlcjI4NDczMTU=","avatar_url":"https://avatars3.githubusercontent.com/u/2847315?v=4","gravatar_id":"","url":"https://api.github.com/users/gabriel128","html_url":"https://github.com/gabriel128","followers_url":"https://api.github.com/users/gabriel128/followers","following_url":"https://api.github.com/users/gabriel128/following{/other_user}","gists_url":"https://api.github.com/users/gabriel128/gists{/gist_id}","starred_url":"https://api.github.com/users/gabriel128/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabriel128/subscriptions","organizations_url":"https://api.github.com/users/gabriel128/orgs","repos_url":"https://api.github.com/users/gabriel128/repos","events_url":"https://api.github.com/users/gabriel128/events{/privacy}","received_events_url":"https://api.github.com/users/gabriel128/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-11-21T22:52:41Z","updated_at":"2018-11-22T02:56:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4600a9ed6ec0301cbaccbd7dbcd5a9c22fc5de95","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/gabriel128/fp-course/pulls/4/commits","review_comments_url":"https://api.github.com/repos/gabriel128/fp-course/pulls/4/comments","review_comment_url":"https://api.github.com/repos/gabriel128/fp-course/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gabriel128/fp-course/issues/4/comments","statuses_url":"https://api.github.com/repos/gabriel128/fp-course/statuses/d8641d7663cf3410fd38f7b7340316bf64644313","head":{"label":"gabriel128:fileio","ref":"fileio","sha":"d8641d7663cf3410fd38f7b7340316bf64644313","user":{"login":"gabriel128","id":2847315,"node_id":"MDQ6VXNlcjI4NDczMTU=","avatar_url":"https://avatars3.githubusercontent.com/u/2847315?v=4","gravatar_id":"","url":"https://api.github.com/users/gabriel128","html_url":"https://github.com/gabriel128","followers_url":"https://api.github.com/users/gabriel128/followers","following_url":"https://api.github.com/users/gabriel128/following{/other_user}","gists_url":"https://api.github.com/users/gabriel128/gists{/gist_id}","starred_url":"https://api.github.com/users/gabriel128/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabriel128/subscriptions","organizations_url":"https://api.github.com/users/gabriel128/orgs","repos_url":"https://api.github.com/users/gabriel128/repos","events_url":"https://api.github.com/users/gabriel128/events{/privacy}","received_events_url":"https://api.github.com/users/gabriel128/received_events","type":"User","site_admin":false},"repo":{"id":144912428,"node_id":"MDEwOlJlcG9zaXRvcnkxNDQ5MTI0Mjg=","name":"fp-course","full_name":"gabriel128/fp-course","private":false,"owner":{"login":"gabriel128","id":2847315,"node_id":"MDQ6VXNlcjI4NDczMTU=","avatar_url":"https://avatars3.githubusercontent.com/u/2847315?v=4","gravatar_id":"","url":"https://api.github.com/users/gabriel128","html_url":"https://github.com/gabriel128","followers_url":"https://api.github.com/users/gabriel128/followers","following_url":"https://api.github.com/users/gabriel128/following{/other_user}","gists_url":"https://api.github.com/users/gabriel128/gists{/gist_id}","starred_url":"https://api.github.com/users/gabriel128/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabriel128/subscriptions","organizations_url":"https://api.github.com/users/gabriel128/orgs","repos_url":"https://api.github.com/users/gabriel128/repos","events_url":"https://api.github.com/users/gabriel128/events{/privacy}","received_events_url":"https://api.github.com/users/gabriel128/received_events","type":"User","site_admin":false},"html_url":"https://github.com/gabriel128/fp-course","description":"Functional Programming Course","fork":true,"url":"https://api.github.com/repos/gabriel128/fp-course","forks_url":"https://api.github.com/repos/gabriel128/fp-course/forks","keys_url":"https://api.github.com/repos/gabriel128/fp-course/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gabriel128/fp-course/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gabriel128/fp-course/teams","hooks_url":"https://api.github.com/repos/gabriel128/fp-course/hooks","issue_events_url":"https://api.github.com/repos/gabriel128/fp-course/issues/events{/number}","events_url":"https://api.github.com/repos/gabriel128/fp-course/events","assignees_url":"https://api.github.com/repos/gabriel128/fp-course/assignees{/user}","branches_url":"https://api.github.com/repos/gabriel128/fp-course/branches{/branch}","tags_url":"https://api.github.com/repos/gabriel128/fp-course/tags","blobs_url":"https://api.github.com/repos/gabriel128/fp-course/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gabriel128/fp-course/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gabriel128/fp-course/git/refs{/sha}","trees_url":"https://api.github.com/repos/gabriel128/fp-course/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gabriel128/fp-course/statuses/{sha}","languages_url":"https://api.github.com/repos/gabriel128/fp-course/languages","stargazers_url":"https://api.github.com/repos/gabriel128/fp-course/stargazers","contributors_url":"https://api.github.com/repos/gabriel128/fp-course/contributors","subscribers_url":"https://api.github.com/repos/gabriel128/fp-course/subscribers","subscription_url":"https://api.github.com/repos/gabriel128/fp-course/subscription","commits_url":"https://api.github.com/repos/gabriel128/fp-course/commits{/sha}","git_commits_url":"https://api.github.com/repos/gabriel128/fp-course/git/commits{/sha}","comments_url":"https://api.github.com/repos/gabriel128/fp-course/comments{/number}","issue_comment_url":"https://api.github.com/repos/gabriel128/fp-course/issues/comments{/number}","contents_url":"https://api.github.com/repos/gabriel128/fp-course/contents/{+path}","compare_url":"https://api.github.com/repos/gabriel128/fp-course/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gabriel128/fp-course/merges","archive_url":"https://api.github.com/repos/gabriel128/fp-course/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gabriel128/fp-course/downloads","issues_url":"https://api.github.com/repos/gabriel128/fp-course/issues{/number}","pulls_url":"https://api.github.com/repos/gabriel128/fp-course/pulls{/number}","milestones_url":"https://api.github.com/repos/gabriel128/fp-course/milestones{/number}","notifications_url":"https://api.github.com/repos/gabriel128/fp-course/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gabriel128/fp-course/labels{/name}","releases_url":"https://api.github.com/repos/gabriel128/fp-course/releases{/id}","deployments_url":"https://api.github.com/repos/gabriel128/fp-course/deployments","created_at":"2018-08-15T23:18:33Z","updated_at":"2018-11-21T22:52:05Z","pushed_at":"2018-11-21T23:36:34Z","git_url":"git://github.com/gabriel128/fp-course.git","ssh_url":"git@github.com:gabriel128/fp-course.git","clone_url":"https://github.com/gabriel128/fp-course.git","svn_url":"https://github.com/gabriel128/fp-course","homepage":"","size":3819,"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":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"gabriel128:master","ref":"master","sha":"0fbebae4a24ec37e9e35387bbb40df8992ac472e","user":{"login":"gabriel128","id":2847315,"node_id":"MDQ6VXNlcjI4NDczMTU=","avatar_url":"https://avatars3.githubusercontent.com/u/2847315?v=4","gravatar_id":"","url":"https://api.github.com/users/gabriel128","html_url":"https://github.com/gabriel128","followers_url":"https://api.github.com/users/gabriel128/followers","following_url":"https://api.github.com/users/gabriel128/following{/other_user}","gists_url":"https://api.github.com/users/gabriel128/gists{/gist_id}","starred_url":"https://api.github.com/users/gabriel128/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabriel128/subscriptions","organizations_url":"https://api.github.com/users/gabriel128/orgs","repos_url":"https://api.github.com/users/gabriel128/repos","events_url":"https://api.github.com/users/gabriel128/events{/privacy}","received_events_url":"https://api.github.com/users/gabriel128/received_events","type":"User","site_admin":false},"repo":{"id":144912428,"node_id":"MDEwOlJlcG9zaXRvcnkxNDQ5MTI0Mjg=","name":"fp-course","full_name":"gabriel128/fp-course","private":false,"owner":{"login":"gabriel128","id":2847315,"node_id":"MDQ6VXNlcjI4NDczMTU=","avatar_url":"https://avatars3.githubusercontent.com/u/2847315?v=4","gravatar_id":"","url":"https://api.github.com/users/gabriel128","html_url":"https://github.com/gabriel128","followers_url":"https://api.github.com/users/gabriel128/followers","following_url":"https://api.github.com/users/gabriel128/following{/other_user}","gists_url":"https://api.github.com/users/gabriel128/gists{/gist_id}","starred_url":"https://api.github.com/users/gabriel128/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabriel128/subscriptions","organizations_url":"https://api.github.com/users/gabriel128/orgs","repos_url":"https://api.github.com/users/gabriel128/repos","events_url":"https://api.github.com/users/gabriel128/events{/privacy}","received_events_url":"https://api.github.com/users/gabriel128/received_events","type":"User","site_admin":false},"html_url":"https://github.com/gabriel128/fp-course","description":"Functional Programming Course","fork":true,"url":"https://api.github.com/repos/gabriel128/fp-course","forks_url":"https://api.github.com/repos/gabriel128/fp-course/forks","keys_url":"https://api.github.com/repos/gabriel128/fp-course/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gabriel128/fp-course/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gabriel128/fp-course/teams","hooks_url":"https://api.github.com/repos/gabriel128/fp-course/hooks","issue_events_url":"https://api.github.com/repos/gabriel128/fp-course/issues/events{/number}","events_url":"https://api.github.com/repos/gabriel128/fp-course/events","assignees_url":"https://api.github.com/repos/gabriel128/fp-course/assignees{/user}","branches_url":"https://api.github.com/repos/gabriel128/fp-course/branches{/branch}","tags_url":"https://api.github.com/repos/gabriel128/fp-course/tags","blobs_url":"https://api.github.com/repos/gabriel128/fp-course/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gabriel128/fp-course/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gabriel128/fp-course/git/refs{/sha}","trees_url":"https://api.github.com/repos/gabriel128/fp-course/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gabriel128/fp-course/statuses/{sha}","languages_url":"https://api.github.com/repos/gabriel128/fp-course/languages","stargazers_url":"https://api.github.com/repos/gabriel128/fp-course/stargazers","contributors_url":"https://api.github.com/repos/gabriel128/fp-course/contributors","subscribers_url":"https://api.github.com/repos/gabriel128/fp-course/subscribers","subscription_url":"https://api.github.com/repos/gabriel128/fp-course/subscription","commits_url":"https://api.github.com/repos/gabriel128/fp-course/commits{/sha}","git_commits_url":"https://api.github.com/repos/gabriel128/fp-course/git/commits{/sha}","comments_url":"https://api.github.com/repos/gabriel128/fp-course/comments{/number}","issue_comment_url":"https://api.github.com/repos/gabriel128/fp-course/issues/comments{/number}","contents_url":"https://api.github.com/repos/gabriel128/fp-course/contents/{+path}","compare_url":"https://api.github.com/repos/gabriel128/fp-course/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gabriel128/fp-course/merges","archive_url":"https://api.github.com/repos/gabriel128/fp-course/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gabriel128/fp-course/downloads","issues_url":"https://api.github.com/repos/gabriel128/fp-course/issues{/number}","pulls_url":"https://api.github.com/repos/gabriel128/fp-course/pulls{/number}","milestones_url":"https://api.github.com/repos/gabriel128/fp-course/milestones{/number}","notifications_url":"https://api.github.com/repos/gabriel128/fp-course/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gabriel128/fp-course/labels{/name}","releases_url":"https://api.github.com/repos/gabriel128/fp-course/releases{/id}","deployments_url":"https://api.github.com/repos/gabriel128/fp-course/deployments","created_at":"2018-08-15T23:18:33Z","updated_at":"2018-11-21T22:52:05Z","pushed_at":"2018-11-21T23:36:34Z","git_url":"git://github.com/gabriel128/fp-course.git","ssh_url":"git@github.com:gabriel128/fp-course.git","clone_url":"https://github.com/gabriel128/fp-course.git","svn_url":"https://github.com/gabriel128/fp-course","homepage":"","size":3819,"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":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gabriel128/fp-course/pulls/4"},"html":{"href":"https://github.com/gabriel128/fp-course/pull/4"},"issue":{"href":"https://api.github.com/repos/gabriel128/fp-course/issues/4"},"comments":{"href":"https://api.github.com/repos/gabriel128/fp-course/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/gabriel128/fp-course/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/gabriel128/fp-course/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gabriel128/fp-course/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/gabriel128/fp-course/statuses/d8641d7663cf3410fd38f7b7340316bf64644313"}},"author_association":"OWNER"}}
{"actor":{"display_login":"JulianLeviston"}}