{"action":"created","comment":{"url":"https://api.github.com/repos/zalora/getopt-generics/pulls/comments/31608710","id":31608710,"diff_hunk":"@@ -227,9 +222,18 @@ helpWrapper progName modifiers args fields =\n     toOptDescrUnit = map (fmap (const ()))\n \n     header :: String\n-    header = progName ++ \" \" ++ \"[OPTIONS]\" ++\n-      maybe \"\" (\\ t -> \" [\" ++ map toUpper t ++ \"]\")\n-        (getPositionalArgumentType modifiers)\n+    header = ((progName ++ \" \") ++) $ unwords $","path":"src/System/Console/GetOpt/Generics.hs","position":151,"original_position":151,"commit_id":"f9e78c330b1143197612795498c7b1f4022db640","original_commit_id":"f9e78c330b1143197612795498c7b1f4022db640","user":{"login":"jkarni","id":1657498,"avatar_url":"https://avatars.githubusercontent.com/u/1657498?v=3","gravatar_id":"","url":"https://api.github.com/users/jkarni","html_url":"https://github.com/jkarni","followers_url":"https://api.github.com/users/jkarni/followers","following_url":"https://api.github.com/users/jkarni/following{/other_user}","gists_url":"https://api.github.com/users/jkarni/gists{/gist_id}","starred_url":"https://api.github.com/users/jkarni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkarni/subscriptions","organizations_url":"https://api.github.com/users/jkarni/orgs","repos_url":"https://api.github.com/users/jkarni/repos","events_url":"https://api.github.com/users/jkarni/events{/privacy}","received_events_url":"https://api.github.com/users/jkarni/received_events","type":"User","site_admin":false},"body":"can't you put `progName` after `unwords` and then avoid the space and extra `++`s?","created_at":"2015-06-03T09:57:17Z","updated_at":"2015-06-03T09:57:17Z","html_url":"https://github.com/zalora/getopt-generics/pull/33#discussion_r31608710","pull_request_url":"https://api.github.com/repos/zalora/getopt-generics/pulls/33","_links":{"self":{"href":"https://api.github.com/repos/zalora/getopt-generics/pulls/comments/31608710"},"html":{"href":"https://github.com/zalora/getopt-generics/pull/33#discussion_r31608710"},"pull_request":{"href":"https://api.github.com/repos/zalora/getopt-generics/pulls/33"}}},"pull_request":{"url":"https://api.github.com/repos/zalora/getopt-generics/pulls/33","id":36810181,"html_url":"https://github.com/zalora/getopt-generics/pull/33","diff_url":"https://github.com/zalora/getopt-generics/pull/33.diff","patch_url":"https://github.com/zalora/getopt-generics/pull/33.patch","issue_url":"https://api.github.com/repos/zalora/getopt-generics/issues/33","number":33,"state":"open","locked":false,"title":"implement typed positional arguments","user":{"login":"soenkehahn","id":402539,"avatar_url":"https://avatars.githubusercontent.com/u/402539?v=3","gravatar_id":"","url":"https://api.github.com/users/soenkehahn","html_url":"https://github.com/soenkehahn","followers_url":"https://api.github.com/users/soenkehahn/followers","following_url":"https://api.github.com/users/soenkehahn/following{/other_user}","gists_url":"https://api.github.com/users/soenkehahn/gists{/gist_id}","starred_url":"https://api.github.com/users/soenkehahn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soenkehahn/subscriptions","organizations_url":"https://api.github.com/users/soenkehahn/orgs","repos_url":"https://api.github.com/users/soenkehahn/repos","events_url":"https://api.github.com/users/soenkehahn/events{/privacy}","received_events_url":"https://api.github.com/users/soenkehahn/received_events","type":"User","site_admin":false},"body":"through constructors without selectors","created_at":"2015-06-03T08:46:47Z","updated_at":"2015-06-03T09:57:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"33626547866b110000f34d57eeba5c603a88edc0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/zalora/getopt-generics/pulls/33/commits","review_comments_url":"https://api.github.com/repos/zalora/getopt-generics/pulls/33/comments","review_comment_url":"https://api.github.com/repos/zalora/getopt-generics/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zalora/getopt-generics/issues/33/comments","statuses_url":"https://api.github.com/repos/zalora/getopt-generics/statuses/f9e78c330b1143197612795498c7b1f4022db640","head":{"label":"zalora:shahn/no-selectors","ref":"shahn/no-selectors","sha":"f9e78c330b1143197612795498c7b1f4022db640","user":{"login":"zalora","id":3175092,"avatar_url":"https://avatars.githubusercontent.com/u/3175092?v=3","gravatar_id":"","url":"https://api.github.com/users/zalora","html_url":"https://github.com/zalora","followers_url":"https://api.github.com/users/zalora/followers","following_url":"https://api.github.com/users/zalora/following{/other_user}","gists_url":"https://api.github.com/users/zalora/gists{/gist_id}","starred_url":"https://api.github.com/users/zalora/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zalora/subscriptions","organizations_url":"https://api.github.com/users/zalora/orgs","repos_url":"https://api.github.com/users/zalora/repos","events_url":"https://api.github.com/users/zalora/events{/privacy}","received_events_url":"https://api.github.com/users/zalora/received_events","type":"Organization","site_admin":false},"repo":{"id":32302895,"name":"getopt-generics","full_name":"zalora/getopt-generics","owner":{"login":"zalora","id":3175092,"avatar_url":"https://avatars.githubusercontent.com/u/3175092?v=3","gravatar_id":"","url":"https://api.github.com/users/zalora","html_url":"https://github.com/zalora","followers_url":"https://api.github.com/users/zalora/followers","following_url":"https://api.github.com/users/zalora/following{/other_user}","gists_url":"https://api.github.com/users/zalora/gists{/gist_id}","starred_url":"https://api.github.com/users/zalora/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zalora/subscriptions","organizations_url":"https://api.github.com/users/zalora/orgs","repos_url":"https://api.github.com/users/zalora/repos","events_url":"https://api.github.com/users/zalora/events{/privacy}","received_events_url":"https://api.github.com/users/zalora/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zalora/getopt-generics","description":"Easily create command line parsers by declaring a data type.","fork":false,"url":"https://api.github.com/repos/zalora/getopt-generics","forks_url":"https://api.github.com/repos/zalora/getopt-generics/forks","keys_url":"https://api.github.com/repos/zalora/getopt-generics/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zalora/getopt-generics/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zalora/getopt-generics/teams","hooks_url":"https://api.github.com/repos/zalora/getopt-generics/hooks","issue_events_url":"https://api.github.com/repos/zalora/getopt-generics/issues/events{/number}","events_url":"https://api.github.com/repos/zalora/getopt-generics/events","assignees_url":"https://api.github.com/repos/zalora/getopt-generics/assignees{/user}","branches_url":"https://api.github.com/repos/zalora/getopt-generics/branches{/branch}","tags_url":"https://api.github.com/repos/zalora/getopt-generics/tags","blobs_url":"https://api.github.com/repos/zalora/getopt-generics/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zalora/getopt-generics/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zalora/getopt-generics/git/refs{/sha}","trees_url":"https://api.github.com/repos/zalora/getopt-generics/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zalora/getopt-generics/statuses/{sha}","languages_url":"https://api.github.com/repos/zalora/getopt-generics/languages","stargazers_url":"https://api.github.com/repos/zalora/getopt-generics/stargazers","contributors_url":"https://api.github.com/repos/zalora/getopt-generics/contributors","subscribers_url":"https://api.github.com/repos/zalora/getopt-generics/subscribers","subscription_url":"https://api.github.com/repos/zalora/getopt-generics/subscription","commits_url":"https://api.github.com/repos/zalora/getopt-generics/commits{/sha}","git_commits_url":"https://api.github.com/repos/zalora/getopt-generics/git/commits{/sha}","comments_url":"https://api.github.com/repos/zalora/getopt-generics/comments{/number}","issue_comment_url":"https://api.github.com/repos/zalora/getopt-generics/issues/comments{/number}","contents_url":"https://api.github.com/repos/zalora/getopt-generics/contents/{+path}","compare_url":"https://api.github.com/repos/zalora/getopt-generics/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zalora/getopt-generics/merges","archive_url":"https://api.github.com/repos/zalora/getopt-generics/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zalora/getopt-generics/downloads","issues_url":"https://api.github.com/repos/zalora/getopt-generics/issues{/number}","pulls_url":"https://api.github.com/repos/zalora/getopt-generics/pulls{/number}","milestones_url":"https://api.github.com/repos/zalora/getopt-generics/milestones{/number}","notifications_url":"https://api.github.com/repos/zalora/getopt-generics/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zalora/getopt-generics/labels{/name}","releases_url":"https://api.github.com/repos/zalora/getopt-generics/releases{/id}","created_at":"2015-03-16T05:15:07Z","updated_at":"2015-05-14T16:19:47Z","pushed_at":"2015-06-03T08:46:47Z","git_url":"git://github.com/zalora/getopt-generics.git","ssh_url":"git@github.com:zalora/getopt-generics.git","clone_url":"https://github.com/zalora/getopt-generics.git","svn_url":"https://github.com/zalora/getopt-generics","homepage":"","size":821,"stargazers_count":25,"watchers_count":25,"language":"Haskell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":7,"forks":1,"open_issues":7,"watchers":25,"default_branch":"master"}},"base":{"label":"zalora:master","ref":"master","sha":"090033ba077893bde89b6d1e0f4381dc9615381c","user":{"login":"zalora","id":3175092,"avatar_url":"https://avatars.githubusercontent.com/u/3175092?v=3","gravatar_id":"","url":"https://api.github.com/users/zalora","html_url":"https://github.com/zalora","followers_url":"https://api.github.com/users/zalora/followers","following_url":"https://api.github.com/users/zalora/following{/other_user}","gists_url":"https://api.github.com/users/zalora/gists{/gist_id}","starred_url":"https://api.github.com/users/zalora/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zalora/subscriptions","organizations_url":"https://api.github.com/users/zalora/orgs","repos_url":"https://api.github.com/users/zalora/repos","events_url":"https://api.github.com/users/zalora/events{/privacy}","received_events_url":"https://api.github.com/users/zalora/received_events","type":"Organization","site_admin":false},"repo":{"id":32302895,"name":"getopt-generics","full_name":"zalora/getopt-generics","owner":{"login":"zalora","id":3175092,"avatar_url":"https://avatars.githubusercontent.com/u/3175092?v=3","gravatar_id":"","url":"https://api.github.com/users/zalora","html_url":"https://github.com/zalora","followers_url":"https://api.github.com/users/zalora/followers","following_url":"https://api.github.com/users/zalora/following{/other_user}","gists_url":"https://api.github.com/users/zalora/gists{/gist_id}","starred_url":"https://api.github.com/users/zalora/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zalora/subscriptions","organizations_url":"https://api.github.com/users/zalora/orgs","repos_url":"https://api.github.com/users/zalora/repos","events_url":"https://api.github.com/users/zalora/events{/privacy}","received_events_url":"https://api.github.com/users/zalora/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zalora/getopt-generics","description":"Easily create command line parsers by declaring a data type.","fork":false,"url":"https://api.github.com/repos/zalora/getopt-generics","forks_url":"https://api.github.com/repos/zalora/getopt-generics/forks","keys_url":"https://api.github.com/repos/zalora/getopt-generics/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zalora/getopt-generics/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zalora/getopt-generics/teams","hooks_url":"https://api.github.com/repos/zalora/getopt-generics/hooks","issue_events_url":"https://api.github.com/repos/zalora/getopt-generics/issues/events{/number}","events_url":"https://api.github.com/repos/zalora/getopt-generics/events","assignees_url":"https://api.github.com/repos/zalora/getopt-generics/assignees{/user}","branches_url":"https://api.github.com/repos/zalora/getopt-generics/branches{/branch}","tags_url":"https://api.github.com/repos/zalora/getopt-generics/tags","blobs_url":"https://api.github.com/repos/zalora/getopt-generics/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zalora/getopt-generics/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zalora/getopt-generics/git/refs{/sha}","trees_url":"https://api.github.com/repos/zalora/getopt-generics/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zalora/getopt-generics/statuses/{sha}","languages_url":"https://api.github.com/repos/zalora/getopt-generics/languages","stargazers_url":"https://api.github.com/repos/zalora/getopt-generics/stargazers","contributors_url":"https://api.github.com/repos/zalora/getopt-generics/contributors","subscribers_url":"https://api.github.com/repos/zalora/getopt-generics/subscribers","subscription_url":"https://api.github.com/repos/zalora/getopt-generics/subscription","commits_url":"https://api.github.com/repos/zalora/getopt-generics/commits{/sha}","git_commits_url":"https://api.github.com/repos/zalora/getopt-generics/git/commits{/sha}","comments_url":"https://api.github.com/repos/zalora/getopt-generics/comments{/number}","issue_comment_url":"https://api.github.com/repos/zalora/getopt-generics/issues/comments{/number}","contents_url":"https://api.github.com/repos/zalora/getopt-generics/contents/{+path}","compare_url":"https://api.github.com/repos/zalora/getopt-generics/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zalora/getopt-generics/merges","archive_url":"https://api.github.com/repos/zalora/getopt-generics/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zalora/getopt-generics/downloads","issues_url":"https://api.github.com/repos/zalora/getopt-generics/issues{/number}","pulls_url":"https://api.github.com/repos/zalora/getopt-generics/pulls{/number}","milestones_url":"https://api.github.com/repos/zalora/getopt-generics/milestones{/number}","notifications_url":"https://api.github.com/repos/zalora/getopt-generics/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zalora/getopt-generics/labels{/name}","releases_url":"https://api.github.com/repos/zalora/getopt-generics/releases{/id}","created_at":"2015-03-16T05:15:07Z","updated_at":"2015-05-14T16:19:47Z","pushed_at":"2015-06-03T08:46:47Z","git_url":"git://github.com/zalora/getopt-generics.git","ssh_url":"git@github.com:zalora/getopt-generics.git","clone_url":"https://github.com/zalora/getopt-generics.git","svn_url":"https://github.com/zalora/getopt-generics","homepage":"","size":821,"stargazers_count":25,"watchers_count":25,"language":"Haskell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":7,"forks":1,"open_issues":7,"watchers":25,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zalora/getopt-generics/pulls/33"},"html":{"href":"https://github.com/zalora/getopt-generics/pull/33"},"issue":{"href":"https://api.github.com/repos/zalora/getopt-generics/issues/33"},"comments":{"href":"https://api.github.com/repos/zalora/getopt-generics/issues/33/comments"},"review_comments":{"href":"https://api.github.com/repos/zalora/getopt-generics/pulls/33/comments"},"review_comment":{"href":"https://api.github.com/repos/zalora/getopt-generics/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zalora/getopt-generics/pulls/33/commits"},"statuses":{"href":"https://api.github.com/repos/zalora/getopt-generics/statuses/f9e78c330b1143197612795498c7b1f4022db640"}}}}