{"action":"created","comment":{"url":"https://api.github.com/repos/namikingsoft/nippoa/pulls/comments/74703419","id":74703419,"diff_hunk":"@@ -5,11 +5,13 @@ module Index\n \n import System.IO (hSetEncoding, stdout, utf8)\n import System.Environment (getEnv, getArgs)\n+import Control.Concurrent\n import Data.Maybe\n import Data.Time.LocalTime\n import Data.Time.Format\n import Data.Time.Clock\n-\n+import qualified Data.ByteString.Lazy as B","path":"src/Index.hs","position":10,"original_position":10,"commit_id":"3f3c7902eb46ff402efaf9520174e333e52ac818","original_commit_id":"3f3c7902eb46ff402efaf9520174e333e52ac818","user":{"login":"namikingsoft","id":3187220,"avatar_url":"https://avatars.githubusercontent.com/u/3187220?v=3","gravatar_id":"","url":"https://api.github.com/users/namikingsoft","html_url":"https://github.com/namikingsoft","followers_url":"https://api.github.com/users/namikingsoft/followers","following_url":"https://api.github.com/users/namikingsoft/following{/other_user}","gists_url":"https://api.github.com/users/namikingsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/namikingsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/namikingsoft/subscriptions","organizations_url":"https://api.github.com/users/namikingsoft/orgs","repos_url":"https://api.github.com/users/namikingsoft/repos","events_url":"https://api.github.com/users/namikingsoft/events{/privacy}","received_events_url":"https://api.github.com/users/namikingsoft/received_events","type":"User","site_admin":false},"body":"どうもこの`import qualified`が好きになれん。\r\nコードが長たらしくなるのと、省略名が統一できないからかな。","created_at":"2016-08-14T15:12:39Z","updated_at":"2016-08-14T15:12:39Z","html_url":"https://github.com/namikingsoft/nippoa/pull/3#discussion_r74703419","pull_request_url":"https://api.github.com/repos/namikingsoft/nippoa/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/namikingsoft/nippoa/pulls/comments/74703419"},"html":{"href":"https://github.com/namikingsoft/nippoa/pull/3#discussion_r74703419"},"pull_request":{"href":"https://api.github.com/repos/namikingsoft/nippoa/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/namikingsoft/nippoa/pulls/3","id":81246136,"html_url":"https://github.com/namikingsoft/nippoa/pull/3","diff_url":"https://github.com/namikingsoft/nippoa/pull/3.diff","patch_url":"https://github.com/namikingsoft/nippoa/pull/3.patch","issue_url":"https://api.github.com/repos/namikingsoft/nippoa/issues/3","number":3,"state":"open","locked":false,"title":"外部JSON取得箇所を並列処理にしてみる","user":{"login":"namikingsoft","id":3187220,"avatar_url":"https://avatars.githubusercontent.com/u/3187220?v=3","gravatar_id":"","url":"https://api.github.com/users/namikingsoft","html_url":"https://github.com/namikingsoft","followers_url":"https://api.github.com/users/namikingsoft/followers","following_url":"https://api.github.com/users/namikingsoft/following{/other_user}","gists_url":"https://api.github.com/users/namikingsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/namikingsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/namikingsoft/subscriptions","organizations_url":"https://api.github.com/users/namikingsoft/orgs","repos_url":"https://api.github.com/users/namikingsoft/repos","events_url":"https://api.github.com/users/namikingsoft/events{/privacy}","received_events_url":"https://api.github.com/users/namikingsoft/received_events","type":"User","site_admin":false},"body":"現状、同期処理になっている外部JSON取得処理を並列化する。\r\n\r\nErlangやgolangに負けないぐらいの軽量スレッドを持っているHaskellなんだから、\r\nまあ使ってみたいですよねって言うことで。\r\n\r\n参考: Haskellでマルチスレッド処理\r\nhttp://qiita.com/myuon_myon/items/d0334317f220dfe05092","created_at":"2016-08-14T15:10:30Z","updated_at":"2016-08-14T15:12:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"62ba7b46d080604d534be2e9fa847371f2d30020","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/namikingsoft/nippoa/pulls/3/commits","review_comments_url":"https://api.github.com/repos/namikingsoft/nippoa/pulls/3/comments","review_comment_url":"https://api.github.com/repos/namikingsoft/nippoa/pulls/comments{/number}","comments_url":"https://api.github.com/repos/namikingsoft/nippoa/issues/3/comments","statuses_url":"https://api.github.com/repos/namikingsoft/nippoa/statuses/3f3c7902eb46ff402efaf9520174e333e52ac818","head":{"label":"namikingsoft:support-thread-when-get-json","ref":"support-thread-when-get-json","sha":"3f3c7902eb46ff402efaf9520174e333e52ac818","user":{"login":"namikingsoft","id":3187220,"avatar_url":"https://avatars.githubusercontent.com/u/3187220?v=3","gravatar_id":"","url":"https://api.github.com/users/namikingsoft","html_url":"https://github.com/namikingsoft","followers_url":"https://api.github.com/users/namikingsoft/followers","following_url":"https://api.github.com/users/namikingsoft/following{/other_user}","gists_url":"https://api.github.com/users/namikingsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/namikingsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/namikingsoft/subscriptions","organizations_url":"https://api.github.com/users/namikingsoft/orgs","repos_url":"https://api.github.com/users/namikingsoft/repos","events_url":"https://api.github.com/users/namikingsoft/events{/privacy}","received_events_url":"https://api.github.com/users/namikingsoft/received_events","type":"User","site_admin":false},"repo":{"id":64623595,"name":"nippoa","full_name":"namikingsoft/nippoa","owner":{"login":"namikingsoft","id":3187220,"avatar_url":"https://avatars.githubusercontent.com/u/3187220?v=3","gravatar_id":"","url":"https://api.github.com/users/namikingsoft","html_url":"https://github.com/namikingsoft","followers_url":"https://api.github.com/users/namikingsoft/followers","following_url":"https://api.github.com/users/namikingsoft/following{/other_user}","gists_url":"https://api.github.com/users/namikingsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/namikingsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/namikingsoft/subscriptions","organizations_url":"https://api.github.com/users/namikingsoft/orgs","repos_url":"https://api.github.com/users/namikingsoft/repos","events_url":"https://api.github.com/users/namikingsoft/events{/privacy}","received_events_url":"https://api.github.com/users/namikingsoft/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/namikingsoft/nippoa","description":null,"fork":false,"url":"https://api.github.com/repos/namikingsoft/nippoa","forks_url":"https://api.github.com/repos/namikingsoft/nippoa/forks","keys_url":"https://api.github.com/repos/namikingsoft/nippoa/keys{/key_id}","collaborators_url":"https://api.github.com/repos/namikingsoft/nippoa/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/namikingsoft/nippoa/teams","hooks_url":"https://api.github.com/repos/namikingsoft/nippoa/hooks","issue_events_url":"https://api.github.com/repos/namikingsoft/nippoa/issues/events{/number}","events_url":"https://api.github.com/repos/namikingsoft/nippoa/events","assignees_url":"https://api.github.com/repos/namikingsoft/nippoa/assignees{/user}","branches_url":"https://api.github.com/repos/namikingsoft/nippoa/branches{/branch}","tags_url":"https://api.github.com/repos/namikingsoft/nippoa/tags","blobs_url":"https://api.github.com/repos/namikingsoft/nippoa/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/namikingsoft/nippoa/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/namikingsoft/nippoa/git/refs{/sha}","trees_url":"https://api.github.com/repos/namikingsoft/nippoa/git/trees{/sha}","statuses_url":"https://api.github.com/repos/namikingsoft/nippoa/statuses/{sha}","languages_url":"https://api.github.com/repos/namikingsoft/nippoa/languages","stargazers_url":"https://api.github.com/repos/namikingsoft/nippoa/stargazers","contributors_url":"https://api.github.com/repos/namikingsoft/nippoa/contributors","subscribers_url":"https://api.github.com/repos/namikingsoft/nippoa/subscribers","subscription_url":"https://api.github.com/repos/namikingsoft/nippoa/subscription","commits_url":"https://api.github.com/repos/namikingsoft/nippoa/commits{/sha}","git_commits_url":"https://api.github.com/repos/namikingsoft/nippoa/git/commits{/sha}","comments_url":"https://api.github.com/repos/namikingsoft/nippoa/comments{/number}","issue_comment_url":"https://api.github.com/repos/namikingsoft/nippoa/issues/comments{/number}","contents_url":"https://api.github.com/repos/namikingsoft/nippoa/contents/{+path}","compare_url":"https://api.github.com/repos/namikingsoft/nippoa/compare/{base}...{head}","merges_url":"https://api.github.com/repos/namikingsoft/nippoa/merges","archive_url":"https://api.github.com/repos/namikingsoft/nippoa/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/namikingsoft/nippoa/downloads","issues_url":"https://api.github.com/repos/namikingsoft/nippoa/issues{/number}","pulls_url":"https://api.github.com/repos/namikingsoft/nippoa/pulls{/number}","milestones_url":"https://api.github.com/repos/namikingsoft/nippoa/milestones{/number}","notifications_url":"https://api.github.com/repos/namikingsoft/nippoa/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/namikingsoft/nippoa/labels{/name}","releases_url":"https://api.github.com/repos/namikingsoft/nippoa/releases{/id}","deployments_url":"https://api.github.com/repos/namikingsoft/nippoa/deployments","created_at":"2016-08-01T00:44:22Z","updated_at":"2016-08-01T06:09:57Z","pushed_at":"2016-08-14T15:10:30Z","git_url":"git://github.com/namikingsoft/nippoa.git","ssh_url":"git@github.com:namikingsoft/nippoa.git","clone_url":"https://github.com/namikingsoft/nippoa.git","svn_url":"https://github.com/namikingsoft/nippoa","homepage":null,"size":92,"stargazers_count":1,"watchers_count":1,"language":"Haskell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"namikingsoft:master","ref":"master","sha":"e310955029a96d40cc15b52c81f5dfa0467f0526","user":{"login":"namikingsoft","id":3187220,"avatar_url":"https://avatars.githubusercontent.com/u/3187220?v=3","gravatar_id":"","url":"https://api.github.com/users/namikingsoft","html_url":"https://github.com/namikingsoft","followers_url":"https://api.github.com/users/namikingsoft/followers","following_url":"https://api.github.com/users/namikingsoft/following{/other_user}","gists_url":"https://api.github.com/users/namikingsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/namikingsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/namikingsoft/subscriptions","organizations_url":"https://api.github.com/users/namikingsoft/orgs","repos_url":"https://api.github.com/users/namikingsoft/repos","events_url":"https://api.github.com/users/namikingsoft/events{/privacy}","received_events_url":"https://api.github.com/users/namikingsoft/received_events","type":"User","site_admin":false},"repo":{"id":64623595,"name":"nippoa","full_name":"namikingsoft/nippoa","owner":{"login":"namikingsoft","id":3187220,"avatar_url":"https://avatars.githubusercontent.com/u/3187220?v=3","gravatar_id":"","url":"https://api.github.com/users/namikingsoft","html_url":"https://github.com/namikingsoft","followers_url":"https://api.github.com/users/namikingsoft/followers","following_url":"https://api.github.com/users/namikingsoft/following{/other_user}","gists_url":"https://api.github.com/users/namikingsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/namikingsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/namikingsoft/subscriptions","organizations_url":"https://api.github.com/users/namikingsoft/orgs","repos_url":"https://api.github.com/users/namikingsoft/repos","events_url":"https://api.github.com/users/namikingsoft/events{/privacy}","received_events_url":"https://api.github.com/users/namikingsoft/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/namikingsoft/nippoa","description":null,"fork":false,"url":"https://api.github.com/repos/namikingsoft/nippoa","forks_url":"https://api.github.com/repos/namikingsoft/nippoa/forks","keys_url":"https://api.github.com/repos/namikingsoft/nippoa/keys{/key_id}","collaborators_url":"https://api.github.com/repos/namikingsoft/nippoa/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/namikingsoft/nippoa/teams","hooks_url":"https://api.github.com/repos/namikingsoft/nippoa/hooks","issue_events_url":"https://api.github.com/repos/namikingsoft/nippoa/issues/events{/number}","events_url":"https://api.github.com/repos/namikingsoft/nippoa/events","assignees_url":"https://api.github.com/repos/namikingsoft/nippoa/assignees{/user}","branches_url":"https://api.github.com/repos/namikingsoft/nippoa/branches{/branch}","tags_url":"https://api.github.com/repos/namikingsoft/nippoa/tags","blobs_url":"https://api.github.com/repos/namikingsoft/nippoa/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/namikingsoft/nippoa/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/namikingsoft/nippoa/git/refs{/sha}","trees_url":"https://api.github.com/repos/namikingsoft/nippoa/git/trees{/sha}","statuses_url":"https://api.github.com/repos/namikingsoft/nippoa/statuses/{sha}","languages_url":"https://api.github.com/repos/namikingsoft/nippoa/languages","stargazers_url":"https://api.github.com/repos/namikingsoft/nippoa/stargazers","contributors_url":"https://api.github.com/repos/namikingsoft/nippoa/contributors","subscribers_url":"https://api.github.com/repos/namikingsoft/nippoa/subscribers","subscription_url":"https://api.github.com/repos/namikingsoft/nippoa/subscription","commits_url":"https://api.github.com/repos/namikingsoft/nippoa/commits{/sha}","git_commits_url":"https://api.github.com/repos/namikingsoft/nippoa/git/commits{/sha}","comments_url":"https://api.github.com/repos/namikingsoft/nippoa/comments{/number}","issue_comment_url":"https://api.github.com/repos/namikingsoft/nippoa/issues/comments{/number}","contents_url":"https://api.github.com/repos/namikingsoft/nippoa/contents/{+path}","compare_url":"https://api.github.com/repos/namikingsoft/nippoa/compare/{base}...{head}","merges_url":"https://api.github.com/repos/namikingsoft/nippoa/merges","archive_url":"https://api.github.com/repos/namikingsoft/nippoa/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/namikingsoft/nippoa/downloads","issues_url":"https://api.github.com/repos/namikingsoft/nippoa/issues{/number}","pulls_url":"https://api.github.com/repos/namikingsoft/nippoa/pulls{/number}","milestones_url":"https://api.github.com/repos/namikingsoft/nippoa/milestones{/number}","notifications_url":"https://api.github.com/repos/namikingsoft/nippoa/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/namikingsoft/nippoa/labels{/name}","releases_url":"https://api.github.com/repos/namikingsoft/nippoa/releases{/id}","deployments_url":"https://api.github.com/repos/namikingsoft/nippoa/deployments","created_at":"2016-08-01T00:44:22Z","updated_at":"2016-08-01T06:09:57Z","pushed_at":"2016-08-14T15:10:30Z","git_url":"git://github.com/namikingsoft/nippoa.git","ssh_url":"git@github.com:namikingsoft/nippoa.git","clone_url":"https://github.com/namikingsoft/nippoa.git","svn_url":"https://github.com/namikingsoft/nippoa","homepage":null,"size":92,"stargazers_count":1,"watchers_count":1,"language":"Haskell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/namikingsoft/nippoa/pulls/3"},"html":{"href":"https://github.com/namikingsoft/nippoa/pull/3"},"issue":{"href":"https://api.github.com/repos/namikingsoft/nippoa/issues/3"},"comments":{"href":"https://api.github.com/repos/namikingsoft/nippoa/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/namikingsoft/nippoa/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/namikingsoft/nippoa/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/namikingsoft/nippoa/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/namikingsoft/nippoa/statuses/3f3c7902eb46ff402efaf9520174e333e52ac818"}}}}
{"actor":{"display_login":"namikingsoft"}}