{"action":"created","comment":{"url":"https://api.github.com/repos/asi1024/haling/pulls/comments/25552457","id":25552457,"diff_hunk":"@@ -60,13 +65,23 @@ decomposeMultArgs = foldr Fun\n decl :: Parser Stmt\n decl = do\n   _    <- symbol \"let\"\n-  name <- identifier\n-  args <- option [] (many1 identifier)\n+  (name, args) <- declNames\n   reservedOp \"=\"\n   e <- expr\n   return $ Decl name (case args of\n-                        []    -> e\n-                        args' -> decomposeMultArgs e args')\n+                        [] -> e","path":"src/Parser.hs","position":45,"original_position":45,"commit_id":"a08f75e143696699d53ff29f868def962e5d13e6","original_commit_id":"a08f75e143696699d53ff29f868def962e5d13e6","user":{"login":"asi1024","id":5086403,"avatar_url":"https://avatars.githubusercontent.com/u/5086403?v=3","gravatar_id":"","url":"https://api.github.com/users/asi1024","html_url":"https://github.com/asi1024","followers_url":"https://api.github.com/users/asi1024/followers","following_url":"https://api.github.com/users/asi1024/following{/other_user}","gists_url":"https://api.github.com/users/asi1024/gists{/gist_id}","starred_url":"https://api.github.com/users/asi1024/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asi1024/subscriptions","organizations_url":"https://api.github.com/users/asi1024/orgs","repos_url":"https://api.github.com/users/asi1024/repos","events_url":"https://api.github.com/users/asi1024/events{/privacy}","received_events_url":"https://api.github.com/users/asi1024/received_events","type":"User","site_admin":false},"body":"空リストのときに場合分けする必要はありますか","created_at":"2015-02-28T01:54:06Z","updated_at":"2015-02-28T01:54:06Z","html_url":"https://github.com/asi1024/haling/pull/14#discussion_r25552457","pull_request_url":"https://api.github.com/repos/asi1024/haling/pulls/14","_links":{"self":{"href":"https://api.github.com/repos/asi1024/haling/pulls/comments/25552457"},"html":{"href":"https://github.com/asi1024/haling/pull/14#discussion_r25552457"},"pull_request":{"href":"https://api.github.com/repos/asi1024/haling/pulls/14"}}},"pull_request":{"url":"https://api.github.com/repos/asi1024/haling/pulls/14","id":30058434,"html_url":"https://github.com/asi1024/haling/pull/14","diff_url":"https://github.com/asi1024/haling/pull/14.diff","patch_url":"https://github.com/asi1024/haling/pull/14.patch","issue_url":"https://api.github.com/repos/asi1024/haling/issues/14","number":14,"state":"open","locked":false,"title":"import をパースできないバグの修正と、中置記法の実装","user":{"login":"yu-i9","id":7097192,"avatar_url":"https://avatars.githubusercontent.com/u/7097192?v=3","gravatar_id":"","url":"https://api.github.com/users/yu-i9","html_url":"https://github.com/yu-i9","followers_url":"https://api.github.com/users/yu-i9/followers","following_url":"https://api.github.com/users/yu-i9/following{/other_user}","gists_url":"https://api.github.com/users/yu-i9/gists{/gist_id}","starred_url":"https://api.github.com/users/yu-i9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yu-i9/subscriptions","organizations_url":"https://api.github.com/users/yu-i9/orgs","repos_url":"https://api.github.com/users/yu-i9/repos","events_url":"https://api.github.com/users/yu-i9/events{/privacy}","received_events_url":"https://api.github.com/users/yu-i9/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-02-26T08:26:56Z","updated_at":"2015-02-28T01:54:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4b313cbb731b0c4522eaf028838f5c3492948919","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/asi1024/haling/pulls/14/commits","review_comments_url":"https://api.github.com/repos/asi1024/haling/pulls/14/comments","review_comment_url":"https://api.github.com/repos/asi1024/haling/pulls/comments{/number}","comments_url":"https://api.github.com/repos/asi1024/haling/issues/14/comments","statuses_url":"https://api.github.com/repos/asi1024/haling/statuses/a08f75e143696699d53ff29f868def962e5d13e6","head":{"label":"asi1024:parse-import-and-infix","ref":"parse-import-and-infix","sha":"a08f75e143696699d53ff29f868def962e5d13e6","user":{"login":"asi1024","id":5086403,"avatar_url":"https://avatars.githubusercontent.com/u/5086403?v=3","gravatar_id":"","url":"https://api.github.com/users/asi1024","html_url":"https://github.com/asi1024","followers_url":"https://api.github.com/users/asi1024/followers","following_url":"https://api.github.com/users/asi1024/following{/other_user}","gists_url":"https://api.github.com/users/asi1024/gists{/gist_id}","starred_url":"https://api.github.com/users/asi1024/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asi1024/subscriptions","organizations_url":"https://api.github.com/users/asi1024/orgs","repos_url":"https://api.github.com/users/asi1024/repos","events_url":"https://api.github.com/users/asi1024/events{/privacy}","received_events_url":"https://api.github.com/users/asi1024/received_events","type":"User","site_admin":false},"repo":{"id":30744446,"name":"haling","full_name":"asi1024/haling","owner":{"login":"asi1024","id":5086403,"avatar_url":"https://avatars.githubusercontent.com/u/5086403?v=3","gravatar_id":"","url":"https://api.github.com/users/asi1024","html_url":"https://github.com/asi1024","followers_url":"https://api.github.com/users/asi1024/followers","following_url":"https://api.github.com/users/asi1024/following{/other_user}","gists_url":"https://api.github.com/users/asi1024/gists{/gist_id}","starred_url":"https://api.github.com/users/asi1024/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asi1024/subscriptions","organizations_url":"https://api.github.com/users/asi1024/orgs","repos_url":"https://api.github.com/users/asi1024/repos","events_url":"https://api.github.com/users/asi1024/events{/privacy}","received_events_url":"https://api.github.com/users/asi1024/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/asi1024/haling","description":"Haskell-like interpreter girl bot","fork":false,"url":"https://api.github.com/repos/asi1024/haling","forks_url":"https://api.github.com/repos/asi1024/haling/forks","keys_url":"https://api.github.com/repos/asi1024/haling/keys{/key_id}","collaborators_url":"https://api.github.com/repos/asi1024/haling/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/asi1024/haling/teams","hooks_url":"https://api.github.com/repos/asi1024/haling/hooks","issue_events_url":"https://api.github.com/repos/asi1024/haling/issues/events{/number}","events_url":"https://api.github.com/repos/asi1024/haling/events","assignees_url":"https://api.github.com/repos/asi1024/haling/assignees{/user}","branches_url":"https://api.github.com/repos/asi1024/haling/branches{/branch}","tags_url":"https://api.github.com/repos/asi1024/haling/tags","blobs_url":"https://api.github.com/repos/asi1024/haling/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/asi1024/haling/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/asi1024/haling/git/refs{/sha}","trees_url":"https://api.github.com/repos/asi1024/haling/git/trees{/sha}","statuses_url":"https://api.github.com/repos/asi1024/haling/statuses/{sha}","languages_url":"https://api.github.com/repos/asi1024/haling/languages","stargazers_url":"https://api.github.com/repos/asi1024/haling/stargazers","contributors_url":"https://api.github.com/repos/asi1024/haling/contributors","subscribers_url":"https://api.github.com/repos/asi1024/haling/subscribers","subscription_url":"https://api.github.com/repos/asi1024/haling/subscription","commits_url":"https://api.github.com/repos/asi1024/haling/commits{/sha}","git_commits_url":"https://api.github.com/repos/asi1024/haling/git/commits{/sha}","comments_url":"https://api.github.com/repos/asi1024/haling/comments{/number}","issue_comment_url":"https://api.github.com/repos/asi1024/haling/issues/comments{/number}","contents_url":"https://api.github.com/repos/asi1024/haling/contents/{+path}","compare_url":"https://api.github.com/repos/asi1024/haling/compare/{base}...{head}","merges_url":"https://api.github.com/repos/asi1024/haling/merges","archive_url":"https://api.github.com/repos/asi1024/haling/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/asi1024/haling/downloads","issues_url":"https://api.github.com/repos/asi1024/haling/issues{/number}","pulls_url":"https://api.github.com/repos/asi1024/haling/pulls{/number}","milestones_url":"https://api.github.com/repos/asi1024/haling/milestones{/number}","notifications_url":"https://api.github.com/repos/asi1024/haling/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/asi1024/haling/labels{/name}","releases_url":"https://api.github.com/repos/asi1024/haling/releases{/id}","created_at":"2015-02-13T06:56:47Z","updated_at":"2015-02-26T02:19:15Z","pushed_at":"2015-02-27T15:06:42Z","git_url":"git://github.com/asi1024/haling.git","ssh_url":"git@github.com:asi1024/haling.git","clone_url":"https://github.com/asi1024/haling.git","svn_url":"https://github.com/asi1024/haling","homepage":null,"size":376,"stargazers_count":0,"watchers_count":0,"language":"Haskell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"asi1024:master","ref":"master","sha":"3e02fc46e4fec52c42b895e6298f4b205bde423d","user":{"login":"asi1024","id":5086403,"avatar_url":"https://avatars.githubusercontent.com/u/5086403?v=3","gravatar_id":"","url":"https://api.github.com/users/asi1024","html_url":"https://github.com/asi1024","followers_url":"https://api.github.com/users/asi1024/followers","following_url":"https://api.github.com/users/asi1024/following{/other_user}","gists_url":"https://api.github.com/users/asi1024/gists{/gist_id}","starred_url":"https://api.github.com/users/asi1024/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asi1024/subscriptions","organizations_url":"https://api.github.com/users/asi1024/orgs","repos_url":"https://api.github.com/users/asi1024/repos","events_url":"https://api.github.com/users/asi1024/events{/privacy}","received_events_url":"https://api.github.com/users/asi1024/received_events","type":"User","site_admin":false},"repo":{"id":30744446,"name":"haling","full_name":"asi1024/haling","owner":{"login":"asi1024","id":5086403,"avatar_url":"https://avatars.githubusercontent.com/u/5086403?v=3","gravatar_id":"","url":"https://api.github.com/users/asi1024","html_url":"https://github.com/asi1024","followers_url":"https://api.github.com/users/asi1024/followers","following_url":"https://api.github.com/users/asi1024/following{/other_user}","gists_url":"https://api.github.com/users/asi1024/gists{/gist_id}","starred_url":"https://api.github.com/users/asi1024/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asi1024/subscriptions","organizations_url":"https://api.github.com/users/asi1024/orgs","repos_url":"https://api.github.com/users/asi1024/repos","events_url":"https://api.github.com/users/asi1024/events{/privacy}","received_events_url":"https://api.github.com/users/asi1024/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/asi1024/haling","description":"Haskell-like interpreter girl bot","fork":false,"url":"https://api.github.com/repos/asi1024/haling","forks_url":"https://api.github.com/repos/asi1024/haling/forks","keys_url":"https://api.github.com/repos/asi1024/haling/keys{/key_id}","collaborators_url":"https://api.github.com/repos/asi1024/haling/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/asi1024/haling/teams","hooks_url":"https://api.github.com/repos/asi1024/haling/hooks","issue_events_url":"https://api.github.com/repos/asi1024/haling/issues/events{/number}","events_url":"https://api.github.com/repos/asi1024/haling/events","assignees_url":"https://api.github.com/repos/asi1024/haling/assignees{/user}","branches_url":"https://api.github.com/repos/asi1024/haling/branches{/branch}","tags_url":"https://api.github.com/repos/asi1024/haling/tags","blobs_url":"https://api.github.com/repos/asi1024/haling/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/asi1024/haling/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/asi1024/haling/git/refs{/sha}","trees_url":"https://api.github.com/repos/asi1024/haling/git/trees{/sha}","statuses_url":"https://api.github.com/repos/asi1024/haling/statuses/{sha}","languages_url":"https://api.github.com/repos/asi1024/haling/languages","stargazers_url":"https://api.github.com/repos/asi1024/haling/stargazers","contributors_url":"https://api.github.com/repos/asi1024/haling/contributors","subscribers_url":"https://api.github.com/repos/asi1024/haling/subscribers","subscription_url":"https://api.github.com/repos/asi1024/haling/subscription","commits_url":"https://api.github.com/repos/asi1024/haling/commits{/sha}","git_commits_url":"https://api.github.com/repos/asi1024/haling/git/commits{/sha}","comments_url":"https://api.github.com/repos/asi1024/haling/comments{/number}","issue_comment_url":"https://api.github.com/repos/asi1024/haling/issues/comments{/number}","contents_url":"https://api.github.com/repos/asi1024/haling/contents/{+path}","compare_url":"https://api.github.com/repos/asi1024/haling/compare/{base}...{head}","merges_url":"https://api.github.com/repos/asi1024/haling/merges","archive_url":"https://api.github.com/repos/asi1024/haling/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/asi1024/haling/downloads","issues_url":"https://api.github.com/repos/asi1024/haling/issues{/number}","pulls_url":"https://api.github.com/repos/asi1024/haling/pulls{/number}","milestones_url":"https://api.github.com/repos/asi1024/haling/milestones{/number}","notifications_url":"https://api.github.com/repos/asi1024/haling/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/asi1024/haling/labels{/name}","releases_url":"https://api.github.com/repos/asi1024/haling/releases{/id}","created_at":"2015-02-13T06:56:47Z","updated_at":"2015-02-26T02:19:15Z","pushed_at":"2015-02-27T15:06:42Z","git_url":"git://github.com/asi1024/haling.git","ssh_url":"git@github.com:asi1024/haling.git","clone_url":"https://github.com/asi1024/haling.git","svn_url":"https://github.com/asi1024/haling","homepage":null,"size":376,"stargazers_count":0,"watchers_count":0,"language":"Haskell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/asi1024/haling/pulls/14"},"html":{"href":"https://github.com/asi1024/haling/pull/14"},"issue":{"href":"https://api.github.com/repos/asi1024/haling/issues/14"},"comments":{"href":"https://api.github.com/repos/asi1024/haling/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/asi1024/haling/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/asi1024/haling/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/asi1024/haling/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/asi1024/haling/statuses/a08f75e143696699d53ff29f868def962e5d13e6"}}}}