{"action":"opened","number":11,"pull_request":{"url":"https://api.github.com/repos/pheymann/scala.bft/pulls/11","id":91456863,"html_url":"https://github.com/pheymann/scala.bft/pull/11","diff_url":"https://github.com/pheymann/scala.bft/pull/11.diff","patch_url":"https://github.com/pheymann/scala.bft/pull/11.patch","issue_url":"https://api.github.com/repos/pheymann/scala.bft/issues/11","number":11,"state":"open","locked":false,"title":"Applied functional programming paradigm","user":{"login":"pheymann","id":15048439,"avatar_url":"https://avatars.githubusercontent.com/u/15048439?v=3","gravatar_id":"","url":"https://api.github.com/users/pheymann","html_url":"https://github.com/pheymann","followers_url":"https://api.github.com/users/pheymann/followers","following_url":"https://api.github.com/users/pheymann/following{/other_user}","gists_url":"https://api.github.com/users/pheymann/gists{/gist_id}","starred_url":"https://api.github.com/users/pheymann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pheymann/subscriptions","organizations_url":"https://api.github.com/users/pheymann/orgs","repos_url":"https://api.github.com/users/pheymann/repos","events_url":"https://api.github.com/users/pheymann/events{/privacy}","received_events_url":"https://api.github.com/users/pheymann/received_events","type":"User","site_admin":false},"body":"To keep the code base more clean, modular and in the end readable it was refactored and the functional programming paradigm applied. Therefore, the Scala **cats** library was used to implement the **Interpreter Pattern** with `Free` monads. Thus IO operations could be separated from the logic code.","created_at":"2016-10-28T21:38:27Z","updated_at":"2016-10-28T21:38:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/pheymann/scala.bft/pulls/11/commits","review_comments_url":"https://api.github.com/repos/pheymann/scala.bft/pulls/11/comments","review_comment_url":"https://api.github.com/repos/pheymann/scala.bft/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pheymann/scala.bft/issues/11/comments","statuses_url":"https://api.github.com/repos/pheymann/scala.bft/statuses/7ee5acc7eaebfc35b50904f07a2c434990eb5c38","head":{"label":"pheymann:feature/rebuild-functional","ref":"feature/rebuild-functional","sha":"7ee5acc7eaebfc35b50904f07a2c434990eb5c38","user":{"login":"pheymann","id":15048439,"avatar_url":"https://avatars.githubusercontent.com/u/15048439?v=3","gravatar_id":"","url":"https://api.github.com/users/pheymann","html_url":"https://github.com/pheymann","followers_url":"https://api.github.com/users/pheymann/followers","following_url":"https://api.github.com/users/pheymann/following{/other_user}","gists_url":"https://api.github.com/users/pheymann/gists{/gist_id}","starred_url":"https://api.github.com/users/pheymann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pheymann/subscriptions","organizations_url":"https://api.github.com/users/pheymann/orgs","repos_url":"https://api.github.com/users/pheymann/repos","events_url":"https://api.github.com/users/pheymann/events{/privacy}","received_events_url":"https://api.github.com/users/pheymann/received_events","type":"User","site_admin":false},"repo":{"id":64961639,"name":"scala.bft","full_name":"pheymann/scala.bft","owner":{"login":"pheymann","id":15048439,"avatar_url":"https://avatars.githubusercontent.com/u/15048439?v=3","gravatar_id":"","url":"https://api.github.com/users/pheymann","html_url":"https://github.com/pheymann","followers_url":"https://api.github.com/users/pheymann/followers","following_url":"https://api.github.com/users/pheymann/following{/other_user}","gists_url":"https://api.github.com/users/pheymann/gists{/gist_id}","starred_url":"https://api.github.com/users/pheymann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pheymann/subscriptions","organizations_url":"https://api.github.com/users/pheymann/orgs","repos_url":"https://api.github.com/users/pheymann/repos","events_url":"https://api.github.com/users/pheymann/events{/privacy}","received_events_url":"https://api.github.com/users/pheymann/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pheymann/scala.bft","description":"Scala based Byzantine Fault Tolerance","fork":false,"url":"https://api.github.com/repos/pheymann/scala.bft","forks_url":"https://api.github.com/repos/pheymann/scala.bft/forks","keys_url":"https://api.github.com/repos/pheymann/scala.bft/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pheymann/scala.bft/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pheymann/scala.bft/teams","hooks_url":"https://api.github.com/repos/pheymann/scala.bft/hooks","issue_events_url":"https://api.github.com/repos/pheymann/scala.bft/issues/events{/number}","events_url":"https://api.github.com/repos/pheymann/scala.bft/events","assignees_url":"https://api.github.com/repos/pheymann/scala.bft/assignees{/user}","branches_url":"https://api.github.com/repos/pheymann/scala.bft/branches{/branch}","tags_url":"https://api.github.com/repos/pheymann/scala.bft/tags","blobs_url":"https://api.github.com/repos/pheymann/scala.bft/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pheymann/scala.bft/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pheymann/scala.bft/git/refs{/sha}","trees_url":"https://api.github.com/repos/pheymann/scala.bft/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pheymann/scala.bft/statuses/{sha}","languages_url":"https://api.github.com/repos/pheymann/scala.bft/languages","stargazers_url":"https://api.github.com/repos/pheymann/scala.bft/stargazers","contributors_url":"https://api.github.com/repos/pheymann/scala.bft/contributors","subscribers_url":"https://api.github.com/repos/pheymann/scala.bft/subscribers","subscription_url":"https://api.github.com/repos/pheymann/scala.bft/subscription","commits_url":"https://api.github.com/repos/pheymann/scala.bft/commits{/sha}","git_commits_url":"https://api.github.com/repos/pheymann/scala.bft/git/commits{/sha}","comments_url":"https://api.github.com/repos/pheymann/scala.bft/comments{/number}","issue_comment_url":"https://api.github.com/repos/pheymann/scala.bft/issues/comments{/number}","contents_url":"https://api.github.com/repos/pheymann/scala.bft/contents/{+path}","compare_url":"https://api.github.com/repos/pheymann/scala.bft/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pheymann/scala.bft/merges","archive_url":"https://api.github.com/repos/pheymann/scala.bft/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pheymann/scala.bft/downloads","issues_url":"https://api.github.com/repos/pheymann/scala.bft/issues{/number}","pulls_url":"https://api.github.com/repos/pheymann/scala.bft/pulls{/number}","milestones_url":"https://api.github.com/repos/pheymann/scala.bft/milestones{/number}","notifications_url":"https://api.github.com/repos/pheymann/scala.bft/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pheymann/scala.bft/labels{/name}","releases_url":"https://api.github.com/repos/pheymann/scala.bft/releases{/id}","deployments_url":"https://api.github.com/repos/pheymann/scala.bft/deployments","created_at":"2016-08-04T19:30:09Z","updated_at":"2016-08-11T06:47:11Z","pushed_at":"2016-10-28T21:34:22Z","git_url":"git://github.com/pheymann/scala.bft.git","ssh_url":"git@github.com:pheymann/scala.bft.git","clone_url":"https://github.com/pheymann/scala.bft.git","svn_url":"https://github.com/pheymann/scala.bft","homepage":null,"size":184,"stargazers_count":1,"watchers_count":1,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":1,"default_branch":"develop"}},"base":{"label":"pheymann:feature/authentication","ref":"feature/authentication","sha":"0b168e5abd6c1bb04e07bb114c0322b34fd42e61","user":{"login":"pheymann","id":15048439,"avatar_url":"https://avatars.githubusercontent.com/u/15048439?v=3","gravatar_id":"","url":"https://api.github.com/users/pheymann","html_url":"https://github.com/pheymann","followers_url":"https://api.github.com/users/pheymann/followers","following_url":"https://api.github.com/users/pheymann/following{/other_user}","gists_url":"https://api.github.com/users/pheymann/gists{/gist_id}","starred_url":"https://api.github.com/users/pheymann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pheymann/subscriptions","organizations_url":"https://api.github.com/users/pheymann/orgs","repos_url":"https://api.github.com/users/pheymann/repos","events_url":"https://api.github.com/users/pheymann/events{/privacy}","received_events_url":"https://api.github.com/users/pheymann/received_events","type":"User","site_admin":false},"repo":{"id":64961639,"name":"scala.bft","full_name":"pheymann/scala.bft","owner":{"login":"pheymann","id":15048439,"avatar_url":"https://avatars.githubusercontent.com/u/15048439?v=3","gravatar_id":"","url":"https://api.github.com/users/pheymann","html_url":"https://github.com/pheymann","followers_url":"https://api.github.com/users/pheymann/followers","following_url":"https://api.github.com/users/pheymann/following{/other_user}","gists_url":"https://api.github.com/users/pheymann/gists{/gist_id}","starred_url":"https://api.github.com/users/pheymann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pheymann/subscriptions","organizations_url":"https://api.github.com/users/pheymann/orgs","repos_url":"https://api.github.com/users/pheymann/repos","events_url":"https://api.github.com/users/pheymann/events{/privacy}","received_events_url":"https://api.github.com/users/pheymann/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pheymann/scala.bft","description":"Scala based Byzantine Fault Tolerance","fork":false,"url":"https://api.github.com/repos/pheymann/scala.bft","forks_url":"https://api.github.com/repos/pheymann/scala.bft/forks","keys_url":"https://api.github.com/repos/pheymann/scala.bft/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pheymann/scala.bft/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pheymann/scala.bft/teams","hooks_url":"https://api.github.com/repos/pheymann/scala.bft/hooks","issue_events_url":"https://api.github.com/repos/pheymann/scala.bft/issues/events{/number}","events_url":"https://api.github.com/repos/pheymann/scala.bft/events","assignees_url":"https://api.github.com/repos/pheymann/scala.bft/assignees{/user}","branches_url":"https://api.github.com/repos/pheymann/scala.bft/branches{/branch}","tags_url":"https://api.github.com/repos/pheymann/scala.bft/tags","blobs_url":"https://api.github.com/repos/pheymann/scala.bft/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pheymann/scala.bft/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pheymann/scala.bft/git/refs{/sha}","trees_url":"https://api.github.com/repos/pheymann/scala.bft/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pheymann/scala.bft/statuses/{sha}","languages_url":"https://api.github.com/repos/pheymann/scala.bft/languages","stargazers_url":"https://api.github.com/repos/pheymann/scala.bft/stargazers","contributors_url":"https://api.github.com/repos/pheymann/scala.bft/contributors","subscribers_url":"https://api.github.com/repos/pheymann/scala.bft/subscribers","subscription_url":"https://api.github.com/repos/pheymann/scala.bft/subscription","commits_url":"https://api.github.com/repos/pheymann/scala.bft/commits{/sha}","git_commits_url":"https://api.github.com/repos/pheymann/scala.bft/git/commits{/sha}","comments_url":"https://api.github.com/repos/pheymann/scala.bft/comments{/number}","issue_comment_url":"https://api.github.com/repos/pheymann/scala.bft/issues/comments{/number}","contents_url":"https://api.github.com/repos/pheymann/scala.bft/contents/{+path}","compare_url":"https://api.github.com/repos/pheymann/scala.bft/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pheymann/scala.bft/merges","archive_url":"https://api.github.com/repos/pheymann/scala.bft/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pheymann/scala.bft/downloads","issues_url":"https://api.github.com/repos/pheymann/scala.bft/issues{/number}","pulls_url":"https://api.github.com/repos/pheymann/scala.bft/pulls{/number}","milestones_url":"https://api.github.com/repos/pheymann/scala.bft/milestones{/number}","notifications_url":"https://api.github.com/repos/pheymann/scala.bft/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pheymann/scala.bft/labels{/name}","releases_url":"https://api.github.com/repos/pheymann/scala.bft/releases{/id}","deployments_url":"https://api.github.com/repos/pheymann/scala.bft/deployments","created_at":"2016-08-04T19:30:09Z","updated_at":"2016-08-11T06:47:11Z","pushed_at":"2016-10-28T21:34:22Z","git_url":"git://github.com/pheymann/scala.bft.git","ssh_url":"git@github.com:pheymann/scala.bft.git","clone_url":"https://github.com/pheymann/scala.bft.git","svn_url":"https://github.com/pheymann/scala.bft","homepage":null,"size":184,"stargazers_count":1,"watchers_count":1,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":1,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/pheymann/scala.bft/pulls/11"},"html":{"href":"https://github.com/pheymann/scala.bft/pull/11"},"issue":{"href":"https://api.github.com/repos/pheymann/scala.bft/issues/11"},"comments":{"href":"https://api.github.com/repos/pheymann/scala.bft/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/pheymann/scala.bft/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/pheymann/scala.bft/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pheymann/scala.bft/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/pheymann/scala.bft/statuses/7ee5acc7eaebfc35b50904f07a2c434990eb5c38"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":9,"additions":945,"deletions":1967,"changed_files":81}}
{"actor":{"display_login":"pheymann"}}