{"action":"created","comment":{"url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/pulls/comments/33418521","id":33418521,"diff_hunk":"@@ -0,0 +1,87 @@\n+{-# LANGUAGE GeneralizedNewtypeDeriving #-}\n+\n+-- TODO: documentation\n+\n+module Turtle.Options\n+    ( Parser\n+    , ParameterName(..)\n+    , LongName(..)\n+    , HelpMessage(..)\n+    , options\n+    , switch\n+    , parameter\n+    , parameterAuto\n+    , parameterText\n+    , parameterInteger\n+    , parameterInt\n+    , parameterDouble","path":"src/Turtle/Options.hs","position":17,"original_position":17,"commit_id":"ecb48e142a58caaf7f06493c7fdf31fbc15dbec5","original_commit_id":"ecb48e142a58caaf7f06493c7fdf31fbc15dbec5","user":{"login":"Gabriel439","id":1313787,"avatar_url":"https://avatars.githubusercontent.com/u/1313787?v=3","gravatar_id":"","url":"https://api.github.com/users/Gabriel439","html_url":"https://github.com/Gabriel439","followers_url":"https://api.github.com/users/Gabriel439/followers","following_url":"https://api.github.com/users/Gabriel439/following{/other_user}","gists_url":"https://api.github.com/users/Gabriel439/gists{/gist_id}","starred_url":"https://api.github.com/users/Gabriel439/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gabriel439/subscriptions","organizations_url":"https://api.github.com/users/Gabriel439/orgs","repos_url":"https://api.github.com/users/Gabriel439/repos","events_url":"https://api.github.com/users/Gabriel439/events{/privacy}","received_events_url":"https://api.github.com/users/Gabriel439/received_events","type":"User","site_admin":false},"body":"Yeah, `ArgumentName` would be more consistent\r\n\r\nI also like the idea of using `argRead`","created_at":"2015-06-28T03:42:23Z","updated_at":"2015-06-28T03:42:23Z","html_url":"https://github.com/Gabriel439/Haskell-Turtle-Library/pull/56#discussion_r33418521","pull_request_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/pulls/56","_links":{"self":{"href":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/pulls/comments/33418521"},"html":{"href":"https://github.com/Gabriel439/Haskell-Turtle-Library/pull/56#discussion_r33418521"},"pull_request":{"href":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/pulls/56"}}},"pull_request":{"url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/pulls/56","id":35385589,"html_url":"https://github.com/Gabriel439/Haskell-Turtle-Library/pull/56","diff_url":"https://github.com/Gabriel439/Haskell-Turtle-Library/pull/56.diff","patch_url":"https://github.com/Gabriel439/Haskell-Turtle-Library/pull/56.patch","issue_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/issues/56","number":56,"state":"open","locked":false,"title":"Turtle.Options module","user":{"login":"int-index","id":4061728,"avatar_url":"https://avatars.githubusercontent.com/u/4061728?v=3","gravatar_id":"","url":"https://api.github.com/users/int-index","html_url":"https://github.com/int-index","followers_url":"https://api.github.com/users/int-index/followers","following_url":"https://api.github.com/users/int-index/following{/other_user}","gists_url":"https://api.github.com/users/int-index/gists{/gist_id}","starred_url":"https://api.github.com/users/int-index/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/int-index/subscriptions","organizations_url":"https://api.github.com/users/int-index/orgs","repos_url":"https://api.github.com/users/int-index/repos","events_url":"https://api.github.com/users/int-index/events{/privacy}","received_events_url":"https://api.github.com/users/int-index/received_events","type":"User","site_admin":false},"body":"This is a place to discuss the new `Turtle.Options` module. It's meant to be a simplified interface to the `optparse-applicative` library that allows to quickly add options parsing to a script. It's not meant to give fine-grained control or much power over the parsing process, for those purposes the `optparse-applicative` library should be used directly.\r\n\r\nThis pull request is not meant to be merged until the module is completed.\r\n\r\nfixes #13 ","created_at":"2015-05-14T00:57:45Z","updated_at":"2015-06-28T03:42:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6bf59c9dc226813c81df97caab7a1877ee03f610","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/pulls/56/commits","review_comments_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/pulls/56/comments","review_comment_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/issues/56/comments","statuses_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/statuses/ecb48e142a58caaf7f06493c7fdf31fbc15dbec5","head":{"label":"Gabriel439:options","ref":"options","sha":"ecb48e142a58caaf7f06493c7fdf31fbc15dbec5","user":{"login":"Gabriel439","id":1313787,"avatar_url":"https://avatars.githubusercontent.com/u/1313787?v=3","gravatar_id":"","url":"https://api.github.com/users/Gabriel439","html_url":"https://github.com/Gabriel439","followers_url":"https://api.github.com/users/Gabriel439/followers","following_url":"https://api.github.com/users/Gabriel439/following{/other_user}","gists_url":"https://api.github.com/users/Gabriel439/gists{/gist_id}","starred_url":"https://api.github.com/users/Gabriel439/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gabriel439/subscriptions","organizations_url":"https://api.github.com/users/Gabriel439/orgs","repos_url":"https://api.github.com/users/Gabriel439/repos","events_url":"https://api.github.com/users/Gabriel439/events{/privacy}","received_events_url":"https://api.github.com/users/Gabriel439/received_events","type":"User","site_admin":false},"repo":{"id":29413716,"name":"Haskell-Turtle-Library","full_name":"Gabriel439/Haskell-Turtle-Library","owner":{"login":"Gabriel439","id":1313787,"avatar_url":"https://avatars.githubusercontent.com/u/1313787?v=3","gravatar_id":"","url":"https://api.github.com/users/Gabriel439","html_url":"https://github.com/Gabriel439","followers_url":"https://api.github.com/users/Gabriel439/followers","following_url":"https://api.github.com/users/Gabriel439/following{/other_user}","gists_url":"https://api.github.com/users/Gabriel439/gists{/gist_id}","starred_url":"https://api.github.com/users/Gabriel439/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gabriel439/subscriptions","organizations_url":"https://api.github.com/users/Gabriel439/orgs","repos_url":"https://api.github.com/users/Gabriel439/repos","events_url":"https://api.github.com/users/Gabriel439/events{/privacy}","received_events_url":"https://api.github.com/users/Gabriel439/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Gabriel439/Haskell-Turtle-Library","description":"Shell programming, Haskell style","fork":false,"url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library","forks_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/forks","keys_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/teams","hooks_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/hooks","issue_events_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/issues/events{/number}","events_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/events","assignees_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/assignees{/user}","branches_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/branches{/branch}","tags_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/tags","blobs_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/git/refs{/sha}","trees_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/statuses/{sha}","languages_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/languages","stargazers_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/stargazers","contributors_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/contributors","subscribers_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/subscribers","subscription_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/subscription","commits_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/commits{/sha}","git_commits_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/git/commits{/sha}","comments_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/comments{/number}","issue_comment_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/issues/comments{/number}","contents_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/contents/{+path}","compare_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/merges","archive_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/downloads","issues_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/issues{/number}","pulls_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/pulls{/number}","milestones_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/milestones{/number}","notifications_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/labels{/name}","releases_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/releases{/id}","created_at":"2015-01-18T02:53:20Z","updated_at":"2015-06-25T20:35:42Z","pushed_at":"2015-06-28T03:20:06Z","git_url":"git://github.com/Gabriel439/Haskell-Turtle-Library.git","ssh_url":"git@github.com:Gabriel439/Haskell-Turtle-Library.git","clone_url":"https://github.com/Gabriel439/Haskell-Turtle-Library.git","svn_url":"https://github.com/Gabriel439/Haskell-Turtle-Library","homepage":null,"size":833,"stargazers_count":186,"watchers_count":186,"language":"Haskell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":35,"forks":15,"open_issues":35,"watchers":186,"default_branch":"master"}},"base":{"label":"Gabriel439:master","ref":"master","sha":"7175ab319c933d3f1d51b22a20c26ac93c6f6069","user":{"login":"Gabriel439","id":1313787,"avatar_url":"https://avatars.githubusercontent.com/u/1313787?v=3","gravatar_id":"","url":"https://api.github.com/users/Gabriel439","html_url":"https://github.com/Gabriel439","followers_url":"https://api.github.com/users/Gabriel439/followers","following_url":"https://api.github.com/users/Gabriel439/following{/other_user}","gists_url":"https://api.github.com/users/Gabriel439/gists{/gist_id}","starred_url":"https://api.github.com/users/Gabriel439/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gabriel439/subscriptions","organizations_url":"https://api.github.com/users/Gabriel439/orgs","repos_url":"https://api.github.com/users/Gabriel439/repos","events_url":"https://api.github.com/users/Gabriel439/events{/privacy}","received_events_url":"https://api.github.com/users/Gabriel439/received_events","type":"User","site_admin":false},"repo":{"id":29413716,"name":"Haskell-Turtle-Library","full_name":"Gabriel439/Haskell-Turtle-Library","owner":{"login":"Gabriel439","id":1313787,"avatar_url":"https://avatars.githubusercontent.com/u/1313787?v=3","gravatar_id":"","url":"https://api.github.com/users/Gabriel439","html_url":"https://github.com/Gabriel439","followers_url":"https://api.github.com/users/Gabriel439/followers","following_url":"https://api.github.com/users/Gabriel439/following{/other_user}","gists_url":"https://api.github.com/users/Gabriel439/gists{/gist_id}","starred_url":"https://api.github.com/users/Gabriel439/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gabriel439/subscriptions","organizations_url":"https://api.github.com/users/Gabriel439/orgs","repos_url":"https://api.github.com/users/Gabriel439/repos","events_url":"https://api.github.com/users/Gabriel439/events{/privacy}","received_events_url":"https://api.github.com/users/Gabriel439/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Gabriel439/Haskell-Turtle-Library","description":"Shell programming, Haskell style","fork":false,"url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library","forks_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/forks","keys_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/teams","hooks_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/hooks","issue_events_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/issues/events{/number}","events_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/events","assignees_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/assignees{/user}","branches_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/branches{/branch}","tags_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/tags","blobs_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/git/refs{/sha}","trees_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/statuses/{sha}","languages_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/languages","stargazers_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/stargazers","contributors_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/contributors","subscribers_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/subscribers","subscription_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/subscription","commits_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/commits{/sha}","git_commits_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/git/commits{/sha}","comments_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/comments{/number}","issue_comment_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/issues/comments{/number}","contents_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/contents/{+path}","compare_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/merges","archive_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/downloads","issues_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/issues{/number}","pulls_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/pulls{/number}","milestones_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/milestones{/number}","notifications_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/labels{/name}","releases_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/releases{/id}","created_at":"2015-01-18T02:53:20Z","updated_at":"2015-06-25T20:35:42Z","pushed_at":"2015-06-28T03:20:06Z","git_url":"git://github.com/Gabriel439/Haskell-Turtle-Library.git","ssh_url":"git@github.com:Gabriel439/Haskell-Turtle-Library.git","clone_url":"https://github.com/Gabriel439/Haskell-Turtle-Library.git","svn_url":"https://github.com/Gabriel439/Haskell-Turtle-Library","homepage":null,"size":833,"stargazers_count":186,"watchers_count":186,"language":"Haskell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":35,"forks":15,"open_issues":35,"watchers":186,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/pulls/56"},"html":{"href":"https://github.com/Gabriel439/Haskell-Turtle-Library/pull/56"},"issue":{"href":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/issues/56"},"comments":{"href":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/issues/56/comments"},"review_comments":{"href":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/pulls/56/comments"},"review_comment":{"href":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/pulls/56/commits"},"statuses":{"href":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/statuses/ecb48e142a58caaf7f06493c7fdf31fbc15dbec5"}}}}