{"action":"created","comment":{"url":"https://api.github.com/repos/mookerji/skylark-core/pulls/comments/48077799","id":48077799,"diff_hunk":"@@ -217,85 +214,83 @@ instance Var LogLevel where\n \n instance (Var a, Show a, Read a) => Var (Maybe a) where\n   toVar (Just v) = (unpack . show) v\n-  toVar Nothing = \"\"\n+  toVar Nothing  = \"\"\n+\n   fromVar = readMaybe\n \n -- | A record type representing full or partial configuration of an\n -- HTTP service. Remaining unspecified fields are filled in with the\n -- default values from Default.\n --\n-data Config = Config\n-  { _cConfigFile    :: Maybe String   -- ^ Service configuration file location\n-  , _cPort          :: Maybe Word32   -- ^ Port to listen on\n-  , _cTimeout       :: Maybe Word32   -- ^ Connection timeout (sec)\n-  , _cLogLevel      :: Maybe LogLevel -- ^ Logging level\n+data Conf = Conf\n+  { _confFile     :: Maybe String   -- ^ Service configuration file location\n+  , _confPort     :: Maybe Int      -- ^ Port to listen on","path":"src/Network/Skylark/Core/Types.hs","position":88,"original_position":88,"commit_id":"2afaa7a473f929b5529e528dbda692ea8e2d20f0","original_commit_id":"2afaa7a473f929b5529e528dbda692ea8e2d20f0","user":{"login":"mookerji","id":353255,"avatar_url":"https://avatars.githubusercontent.com/u/353255?v=3","gravatar_id":"","url":"https://api.github.com/users/mookerji","html_url":"https://github.com/mookerji","followers_url":"https://api.github.com/users/mookerji/followers","following_url":"https://api.github.com/users/mookerji/following{/other_user}","gists_url":"https://api.github.com/users/mookerji/gists{/gist_id}","starred_url":"https://api.github.com/users/mookerji/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mookerji/subscriptions","organizations_url":"https://api.github.com/users/mookerji/orgs","repos_url":"https://api.github.com/users/mookerji/repos","events_url":"https://api.github.com/users/mookerji/events{/privacy}","received_events_url":"https://api.github.com/users/mookerji/received_events","type":"User","site_admin":false},"body":"k.","created_at":"2015-12-18T22:37:06Z","updated_at":"2015-12-18T22:37:06Z","html_url":"https://github.com/mookerji/skylark-core/pull/1#discussion_r48077799","pull_request_url":"https://api.github.com/repos/mookerji/skylark-core/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/mookerji/skylark-core/pulls/comments/48077799"},"html":{"href":"https://github.com/mookerji/skylark-core/pull/1#discussion_r48077799"},"pull_request":{"href":"https://api.github.com/repos/mookerji/skylark-core/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/mookerji/skylark-core/pulls/1","id":54069346,"html_url":"https://github.com/mookerji/skylark-core/pull/1","diff_url":"https://github.com/mookerji/skylark-core/pull/1.diff","patch_url":"https://github.com/mookerji/skylark-core/pull/1.patch","issue_url":"https://api.github.com/repos/mookerji/skylark-core/issues/1","number":1,"state":"open","locked":false,"title":"Nits on #3","user":{"login":"mfine","id":60851,"avatar_url":"https://avatars.githubusercontent.com/u/60851?v=3","gravatar_id":"","url":"https://api.github.com/users/mfine","html_url":"https://github.com/mfine","followers_url":"https://api.github.com/users/mfine/followers","following_url":"https://api.github.com/users/mfine/following{/other_user}","gists_url":"https://api.github.com/users/mfine/gists{/gist_id}","starred_url":"https://api.github.com/users/mfine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfine/subscriptions","organizations_url":"https://api.github.com/users/mfine/orgs","repos_url":"https://api.github.com/users/mfine/repos","events_url":"https://api.github.com/users/mfine/events{/privacy}","received_events_url":"https://api.github.com/users/mfine/received_events","type":"User","site_admin":false},"body":"@mookerji mainly just formatting and some var name stuff.","created_at":"2015-12-18T06:31:12Z","updated_at":"2015-12-18T22:37:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dae71a532e616c48037f7f7c1e81bdff5bf76fd6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mookerji/skylark-core/pulls/1/commits","review_comments_url":"https://api.github.com/repos/mookerji/skylark-core/pulls/1/comments","review_comment_url":"https://api.github.com/repos/mookerji/skylark-core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mookerji/skylark-core/issues/1/comments","statuses_url":"https://api.github.com/repos/mookerji/skylark-core/statuses/2afaa7a473f929b5529e528dbda692ea8e2d20f0","head":{"label":"mfine:mfine-2-commonconfig","ref":"mfine-2-commonconfig","sha":"2afaa7a473f929b5529e528dbda692ea8e2d20f0","user":{"login":"mfine","id":60851,"avatar_url":"https://avatars.githubusercontent.com/u/60851?v=3","gravatar_id":"","url":"https://api.github.com/users/mfine","html_url":"https://github.com/mfine","followers_url":"https://api.github.com/users/mfine/followers","following_url":"https://api.github.com/users/mfine/following{/other_user}","gists_url":"https://api.github.com/users/mfine/gists{/gist_id}","starred_url":"https://api.github.com/users/mfine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfine/subscriptions","organizations_url":"https://api.github.com/users/mfine/orgs","repos_url":"https://api.github.com/users/mfine/repos","events_url":"https://api.github.com/users/mfine/events{/privacy}","received_events_url":"https://api.github.com/users/mfine/received_events","type":"User","site_admin":false},"repo":{"id":45267305,"name":"skylark-core","full_name":"mfine/skylark-core","owner":{"login":"mfine","id":60851,"avatar_url":"https://avatars.githubusercontent.com/u/60851?v=3","gravatar_id":"","url":"https://api.github.com/users/mfine","html_url":"https://github.com/mfine","followers_url":"https://api.github.com/users/mfine/followers","following_url":"https://api.github.com/users/mfine/following{/other_user}","gists_url":"https://api.github.com/users/mfine/gists{/gist_id}","starred_url":"https://api.github.com/users/mfine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfine/subscriptions","organizations_url":"https://api.github.com/users/mfine/orgs","repos_url":"https://api.github.com/users/mfine/repos","events_url":"https://api.github.com/users/mfine/events{/privacy}","received_events_url":"https://api.github.com/users/mfine/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mfine/skylark-core","description":"","fork":true,"url":"https://api.github.com/repos/mfine/skylark-core","forks_url":"https://api.github.com/repos/mfine/skylark-core/forks","keys_url":"https://api.github.com/repos/mfine/skylark-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mfine/skylark-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mfine/skylark-core/teams","hooks_url":"https://api.github.com/repos/mfine/skylark-core/hooks","issue_events_url":"https://api.github.com/repos/mfine/skylark-core/issues/events{/number}","events_url":"https://api.github.com/repos/mfine/skylark-core/events","assignees_url":"https://api.github.com/repos/mfine/skylark-core/assignees{/user}","branches_url":"https://api.github.com/repos/mfine/skylark-core/branches{/branch}","tags_url":"https://api.github.com/repos/mfine/skylark-core/tags","blobs_url":"https://api.github.com/repos/mfine/skylark-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mfine/skylark-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mfine/skylark-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/mfine/skylark-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mfine/skylark-core/statuses/{sha}","languages_url":"https://api.github.com/repos/mfine/skylark-core/languages","stargazers_url":"https://api.github.com/repos/mfine/skylark-core/stargazers","contributors_url":"https://api.github.com/repos/mfine/skylark-core/contributors","subscribers_url":"https://api.github.com/repos/mfine/skylark-core/subscribers","subscription_url":"https://api.github.com/repos/mfine/skylark-core/subscription","commits_url":"https://api.github.com/repos/mfine/skylark-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/mfine/skylark-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/mfine/skylark-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/mfine/skylark-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/mfine/skylark-core/contents/{+path}","compare_url":"https://api.github.com/repos/mfine/skylark-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mfine/skylark-core/merges","archive_url":"https://api.github.com/repos/mfine/skylark-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mfine/skylark-core/downloads","issues_url":"https://api.github.com/repos/mfine/skylark-core/issues{/number}","pulls_url":"https://api.github.com/repos/mfine/skylark-core/pulls{/number}","milestones_url":"https://api.github.com/repos/mfine/skylark-core/milestones{/number}","notifications_url":"https://api.github.com/repos/mfine/skylark-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mfine/skylark-core/labels{/name}","releases_url":"https://api.github.com/repos/mfine/skylark-core/releases{/id}","created_at":"2015-10-30T17:50:43Z","updated_at":"2015-10-30T17:50:44Z","pushed_at":"2015-12-18T07:03:37Z","git_url":"git://github.com/mfine/skylark-core.git","ssh_url":"git@github.com:mfine/skylark-core.git","clone_url":"https://github.com/mfine/skylark-core.git","svn_url":"https://github.com/mfine/skylark-core","homepage":null,"size":55,"stargazers_count":0,"watchers_count":0,"language":"Haskell","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mookerji:mookerji-2-commonconfig","ref":"mookerji-2-commonconfig","sha":"eba3a3514992add51032915627afabe55e2d8229","user":{"login":"mookerji","id":353255,"avatar_url":"https://avatars.githubusercontent.com/u/353255?v=3","gravatar_id":"","url":"https://api.github.com/users/mookerji","html_url":"https://github.com/mookerji","followers_url":"https://api.github.com/users/mookerji/followers","following_url":"https://api.github.com/users/mookerji/following{/other_user}","gists_url":"https://api.github.com/users/mookerji/gists{/gist_id}","starred_url":"https://api.github.com/users/mookerji/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mookerji/subscriptions","organizations_url":"https://api.github.com/users/mookerji/orgs","repos_url":"https://api.github.com/users/mookerji/repos","events_url":"https://api.github.com/users/mookerji/events{/privacy}","received_events_url":"https://api.github.com/users/mookerji/received_events","type":"User","site_admin":false},"repo":{"id":47785040,"name":"skylark-core","full_name":"mookerji/skylark-core","owner":{"login":"mookerji","id":353255,"avatar_url":"https://avatars.githubusercontent.com/u/353255?v=3","gravatar_id":"","url":"https://api.github.com/users/mookerji","html_url":"https://github.com/mookerji","followers_url":"https://api.github.com/users/mookerji/followers","following_url":"https://api.github.com/users/mookerji/following{/other_user}","gists_url":"https://api.github.com/users/mookerji/gists{/gist_id}","starred_url":"https://api.github.com/users/mookerji/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mookerji/subscriptions","organizations_url":"https://api.github.com/users/mookerji/orgs","repos_url":"https://api.github.com/users/mookerji/repos","events_url":"https://api.github.com/users/mookerji/events{/privacy}","received_events_url":"https://api.github.com/users/mookerji/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mookerji/skylark-core","description":"","fork":true,"url":"https://api.github.com/repos/mookerji/skylark-core","forks_url":"https://api.github.com/repos/mookerji/skylark-core/forks","keys_url":"https://api.github.com/repos/mookerji/skylark-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mookerji/skylark-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mookerji/skylark-core/teams","hooks_url":"https://api.github.com/repos/mookerji/skylark-core/hooks","issue_events_url":"https://api.github.com/repos/mookerji/skylark-core/issues/events{/number}","events_url":"https://api.github.com/repos/mookerji/skylark-core/events","assignees_url":"https://api.github.com/repos/mookerji/skylark-core/assignees{/user}","branches_url":"https://api.github.com/repos/mookerji/skylark-core/branches{/branch}","tags_url":"https://api.github.com/repos/mookerji/skylark-core/tags","blobs_url":"https://api.github.com/repos/mookerji/skylark-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mookerji/skylark-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mookerji/skylark-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/mookerji/skylark-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mookerji/skylark-core/statuses/{sha}","languages_url":"https://api.github.com/repos/mookerji/skylark-core/languages","stargazers_url":"https://api.github.com/repos/mookerji/skylark-core/stargazers","contributors_url":"https://api.github.com/repos/mookerji/skylark-core/contributors","subscribers_url":"https://api.github.com/repos/mookerji/skylark-core/subscribers","subscription_url":"https://api.github.com/repos/mookerji/skylark-core/subscription","commits_url":"https://api.github.com/repos/mookerji/skylark-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/mookerji/skylark-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/mookerji/skylark-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/mookerji/skylark-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/mookerji/skylark-core/contents/{+path}","compare_url":"https://api.github.com/repos/mookerji/skylark-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mookerji/skylark-core/merges","archive_url":"https://api.github.com/repos/mookerji/skylark-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mookerji/skylark-core/downloads","issues_url":"https://api.github.com/repos/mookerji/skylark-core/issues{/number}","pulls_url":"https://api.github.com/repos/mookerji/skylark-core/pulls{/number}","milestones_url":"https://api.github.com/repos/mookerji/skylark-core/milestones{/number}","notifications_url":"https://api.github.com/repos/mookerji/skylark-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mookerji/skylark-core/labels{/name}","releases_url":"https://api.github.com/repos/mookerji/skylark-core/releases{/id}","created_at":"2015-12-10T20:15:23Z","updated_at":"2015-12-10T20:15:24Z","pushed_at":"2015-12-18T07:03:37Z","git_url":"git://github.com/mookerji/skylark-core.git","ssh_url":"git@github.com:mookerji/skylark-core.git","clone_url":"https://github.com/mookerji/skylark-core.git","svn_url":"https://github.com/mookerji/skylark-core","homepage":null,"size":50,"stargazers_count":0,"watchers_count":0,"language":"Haskell","has_issues":false,"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":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mookerji/skylark-core/pulls/1"},"html":{"href":"https://github.com/mookerji/skylark-core/pull/1"},"issue":{"href":"https://api.github.com/repos/mookerji/skylark-core/issues/1"},"comments":{"href":"https://api.github.com/repos/mookerji/skylark-core/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/mookerji/skylark-core/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/mookerji/skylark-core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mookerji/skylark-core/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/mookerji/skylark-core/statuses/2afaa7a473f929b5529e528dbda692ea8e2d20f0"}}}}