{"action":"created","comment":{"url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/pulls/comments/41569683","id":41569683,"diff_hunk":"@@ -0,0 +1,27 @@\n+{-# LANGUAGE OverloadedStrings #-}\n+\n+module DBConfig (DBConfig(..), readDBConfig)","path":"haskell_scotty/DBConfig.hs","position":3,"original_position":3,"commit_id":"656c7b74df59aa330eef02b7309057513d9673af","original_commit_id":"656c7b74df59aa330eef02b7309057513d9673af","user":{"login":"BartMassey","id":117151,"avatar_url":"https://avatars.githubusercontent.com/u/117151?v=3","gravatar_id":"","url":"https://api.github.com/users/BartMassey","html_url":"https://github.com/BartMassey","followers_url":"https://api.github.com/users/BartMassey/followers","following_url":"https://api.github.com/users/BartMassey/following{/other_user}","gists_url":"https://api.github.com/users/BartMassey/gists{/gist_id}","starred_url":"https://api.github.com/users/BartMassey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BartMassey/subscriptions","organizations_url":"https://api.github.com/users/BartMassey/orgs","repos_url":"https://api.github.com/users/BartMassey/repos","events_url":"https://api.github.com/users/BartMassey/events{/privacy}","received_events_url":"https://api.github.com/users/BartMassey/received_events","type":"User","site_admin":false},"body":"Without the (..) you only get the structure name itself. With (..) you also get the structure internals. It's a way of doing information hiding or not.","created_at":"2015-10-08T21:12:24Z","updated_at":"2015-10-08T21:12:24Z","html_url":"https://github.com/botandrose/eboshi_api_shootout/pull/55#discussion_r41569683","pull_request_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/pulls/55","_links":{"self":{"href":"https://api.github.com/repos/botandrose/eboshi_api_shootout/pulls/comments/41569683"},"html":{"href":"https://github.com/botandrose/eboshi_api_shootout/pull/55#discussion_r41569683"},"pull_request":{"href":"https://api.github.com/repos/botandrose/eboshi_api_shootout/pulls/55"}}},"pull_request":{"url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/pulls/55","id":47087486,"html_url":"https://github.com/botandrose/eboshi_api_shootout/pull/55","diff_url":"https://github.com/botandrose/eboshi_api_shootout/pull/55.diff","patch_url":"https://github.com/botandrose/eboshi_api_shootout/pull/55.patch","issue_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/issues/55","number":55,"state":"open","locked":false,"title":"Implement GET /api/clients in Haskell Scotty","user":{"login":"botandrose","id":17391,"avatar_url":"https://avatars.githubusercontent.com/u/17391?v=3","gravatar_id":"","url":"https://api.github.com/users/botandrose","html_url":"https://github.com/botandrose","followers_url":"https://api.github.com/users/botandrose/followers","following_url":"https://api.github.com/users/botandrose/following{/other_user}","gists_url":"https://api.github.com/users/botandrose/gists{/gist_id}","starred_url":"https://api.github.com/users/botandrose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/botandrose/subscriptions","organizations_url":"https://api.github.com/users/botandrose/orgs","repos_url":"https://api.github.com/users/botandrose/repos","events_url":"https://api.github.com/users/botandrose/events{/privacy}","received_events_url":"https://api.github.com/users/botandrose/received_events","type":"User","site_admin":false},"body":"Okay, finally got something working here that I think is halfway decent. ","created_at":"2015-10-07T21:54:54Z","updated_at":"2015-10-08T21:12:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"755237ddfcb4b114022e67505f752f81d83b4f05","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/pulls/55/commits","review_comments_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/pulls/55/comments","review_comment_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/pulls/comments{/number}","comments_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/issues/55/comments","statuses_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/statuses/656c7b74df59aa330eef02b7309057513d9673af","head":{"label":"botandrose:haskell_scotty","ref":"haskell_scotty","sha":"656c7b74df59aa330eef02b7309057513d9673af","user":{"login":"botandrose","id":17391,"avatar_url":"https://avatars.githubusercontent.com/u/17391?v=3","gravatar_id":"","url":"https://api.github.com/users/botandrose","html_url":"https://github.com/botandrose","followers_url":"https://api.github.com/users/botandrose/followers","following_url":"https://api.github.com/users/botandrose/following{/other_user}","gists_url":"https://api.github.com/users/botandrose/gists{/gist_id}","starred_url":"https://api.github.com/users/botandrose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/botandrose/subscriptions","organizations_url":"https://api.github.com/users/botandrose/orgs","repos_url":"https://api.github.com/users/botandrose/repos","events_url":"https://api.github.com/users/botandrose/events{/privacy}","received_events_url":"https://api.github.com/users/botandrose/received_events","type":"User","site_admin":false},"repo":{"id":43263644,"name":"eboshi_api_shootout","full_name":"botandrose/eboshi_api_shootout","owner":{"login":"botandrose","id":17391,"avatar_url":"https://avatars.githubusercontent.com/u/17391?v=3","gravatar_id":"","url":"https://api.github.com/users/botandrose","html_url":"https://github.com/botandrose","followers_url":"https://api.github.com/users/botandrose/followers","following_url":"https://api.github.com/users/botandrose/following{/other_user}","gists_url":"https://api.github.com/users/botandrose/gists{/gist_id}","starred_url":"https://api.github.com/users/botandrose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/botandrose/subscriptions","organizations_url":"https://api.github.com/users/botandrose/orgs","repos_url":"https://api.github.com/users/botandrose/repos","events_url":"https://api.github.com/users/botandrose/events{/privacy}","received_events_url":"https://api.github.com/users/botandrose/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/botandrose/eboshi_api_shootout","description":"Experimenting with building an API for Eboshi in a number of languages","fork":false,"url":"https://api.github.com/repos/botandrose/eboshi_api_shootout","forks_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/forks","keys_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/keys{/key_id}","collaborators_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/teams","hooks_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/hooks","issue_events_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/issues/events{/number}","events_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/events","assignees_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/assignees{/user}","branches_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/branches{/branch}","tags_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/tags","blobs_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/git/refs{/sha}","trees_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/git/trees{/sha}","statuses_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/statuses/{sha}","languages_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/languages","stargazers_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/stargazers","contributors_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/contributors","subscribers_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/subscribers","subscription_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/subscription","commits_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/commits{/sha}","git_commits_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/git/commits{/sha}","comments_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/comments{/number}","issue_comment_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/issues/comments{/number}","contents_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/contents/{+path}","compare_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/compare/{base}...{head}","merges_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/merges","archive_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/downloads","issues_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/issues{/number}","pulls_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/pulls{/number}","milestones_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/milestones{/number}","notifications_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/labels{/name}","releases_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/releases{/id}","created_at":"2015-09-27T20:28:35Z","updated_at":"2015-09-29T00:45:36Z","pushed_at":"2015-10-08T06:33:14Z","git_url":"git://github.com/botandrose/eboshi_api_shootout.git","ssh_url":"git@github.com:botandrose/eboshi_api_shootout.git","clone_url":"https://github.com/botandrose/eboshi_api_shootout.git","svn_url":"https://github.com/botandrose/eboshi_api_shootout","homepage":null,"size":773,"stargazers_count":0,"watchers_count":0,"language":"Elixir","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":11,"forks":3,"open_issues":11,"watchers":0,"default_branch":"master"}},"base":{"label":"botandrose:master","ref":"master","sha":"94a9b16f554851b76b8141c3f92a876537f756fa","user":{"login":"botandrose","id":17391,"avatar_url":"https://avatars.githubusercontent.com/u/17391?v=3","gravatar_id":"","url":"https://api.github.com/users/botandrose","html_url":"https://github.com/botandrose","followers_url":"https://api.github.com/users/botandrose/followers","following_url":"https://api.github.com/users/botandrose/following{/other_user}","gists_url":"https://api.github.com/users/botandrose/gists{/gist_id}","starred_url":"https://api.github.com/users/botandrose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/botandrose/subscriptions","organizations_url":"https://api.github.com/users/botandrose/orgs","repos_url":"https://api.github.com/users/botandrose/repos","events_url":"https://api.github.com/users/botandrose/events{/privacy}","received_events_url":"https://api.github.com/users/botandrose/received_events","type":"User","site_admin":false},"repo":{"id":43263644,"name":"eboshi_api_shootout","full_name":"botandrose/eboshi_api_shootout","owner":{"login":"botandrose","id":17391,"avatar_url":"https://avatars.githubusercontent.com/u/17391?v=3","gravatar_id":"","url":"https://api.github.com/users/botandrose","html_url":"https://github.com/botandrose","followers_url":"https://api.github.com/users/botandrose/followers","following_url":"https://api.github.com/users/botandrose/following{/other_user}","gists_url":"https://api.github.com/users/botandrose/gists{/gist_id}","starred_url":"https://api.github.com/users/botandrose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/botandrose/subscriptions","organizations_url":"https://api.github.com/users/botandrose/orgs","repos_url":"https://api.github.com/users/botandrose/repos","events_url":"https://api.github.com/users/botandrose/events{/privacy}","received_events_url":"https://api.github.com/users/botandrose/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/botandrose/eboshi_api_shootout","description":"Experimenting with building an API for Eboshi in a number of languages","fork":false,"url":"https://api.github.com/repos/botandrose/eboshi_api_shootout","forks_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/forks","keys_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/keys{/key_id}","collaborators_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/teams","hooks_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/hooks","issue_events_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/issues/events{/number}","events_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/events","assignees_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/assignees{/user}","branches_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/branches{/branch}","tags_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/tags","blobs_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/git/refs{/sha}","trees_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/git/trees{/sha}","statuses_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/statuses/{sha}","languages_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/languages","stargazers_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/stargazers","contributors_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/contributors","subscribers_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/subscribers","subscription_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/subscription","commits_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/commits{/sha}","git_commits_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/git/commits{/sha}","comments_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/comments{/number}","issue_comment_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/issues/comments{/number}","contents_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/contents/{+path}","compare_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/compare/{base}...{head}","merges_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/merges","archive_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/downloads","issues_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/issues{/number}","pulls_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/pulls{/number}","milestones_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/milestones{/number}","notifications_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/labels{/name}","releases_url":"https://api.github.com/repos/botandrose/eboshi_api_shootout/releases{/id}","created_at":"2015-09-27T20:28:35Z","updated_at":"2015-09-29T00:45:36Z","pushed_at":"2015-10-08T06:33:14Z","git_url":"git://github.com/botandrose/eboshi_api_shootout.git","ssh_url":"git@github.com:botandrose/eboshi_api_shootout.git","clone_url":"https://github.com/botandrose/eboshi_api_shootout.git","svn_url":"https://github.com/botandrose/eboshi_api_shootout","homepage":null,"size":773,"stargazers_count":0,"watchers_count":0,"language":"Elixir","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":11,"forks":3,"open_issues":11,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/botandrose/eboshi_api_shootout/pulls/55"},"html":{"href":"https://github.com/botandrose/eboshi_api_shootout/pull/55"},"issue":{"href":"https://api.github.com/repos/botandrose/eboshi_api_shootout/issues/55"},"comments":{"href":"https://api.github.com/repos/botandrose/eboshi_api_shootout/issues/55/comments"},"review_comments":{"href":"https://api.github.com/repos/botandrose/eboshi_api_shootout/pulls/55/comments"},"review_comment":{"href":"https://api.github.com/repos/botandrose/eboshi_api_shootout/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/botandrose/eboshi_api_shootout/pulls/55/commits"},"statuses":{"href":"https://api.github.com/repos/botandrose/eboshi_api_shootout/statuses/656c7b74df59aa330eef02b7309057513d9673af"}}}}