{"action":"closed","number":4,"pull_request":{"url":"https://api.github.com/repos/alvarowolfx/dojo-s01e01-cheque-por-extenso.clj/pulls/4","id":36574799,"html_url":"https://github.com/alvarowolfx/dojo-s01e01-cheque-por-extenso.clj/pull/4","diff_url":"https://github.com/alvarowolfx/dojo-s01e01-cheque-por-extenso.clj/pull/4.diff","patch_url":"https://github.com/alvarowolfx/dojo-s01e01-cheque-por-extenso.clj/pull/4.patch","issue_url":"https://api.github.com/repos/alvarowolfx/dojo-s01e01-cheque-por-extenso.clj/issues/4","number":4,"state":"closed","locked":false,"title":"Some tweaks","user":{"login":"EduardoMRB","id":2163269,"avatar_url":"https://avatars.githubusercontent.com/u/2163269?v=3","gravatar_id":"","url":"https://api.github.com/users/EduardoMRB","html_url":"https://github.com/EduardoMRB","followers_url":"https://api.github.com/users/EduardoMRB/followers","following_url":"https://api.github.com/users/EduardoMRB/following{/other_user}","gists_url":"https://api.github.com/users/EduardoMRB/gists{/gist_id}","starred_url":"https://api.github.com/users/EduardoMRB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EduardoMRB/subscriptions","organizations_url":"https://api.github.com/users/EduardoMRB/orgs","repos_url":"https://api.github.com/users/EduardoMRB/repos","events_url":"https://api.github.com/users/EduardoMRB/events{/privacy}","received_events_url":"https://api.github.com/users/EduardoMRB/received_events","type":"User","site_admin":false},"body":"Only introduces some idiomatic Clojure constructs to the existing\r\nsolution like:\r\n\r\n- Use of `declare` to make forward declarations\r\n- Use of `let` instead of inner `def`s\r\n- Idiomatic functions like `zero?` and `neg?`\r\n- lisp-case\r\n- Clojure-ish way to get length of numbers with `(count (str money))`\r\n- Returning `nil` instead of empty string, saving lines `(= (str \"a\" nil) \"a\")`\r\n- Lisp-like indentation\r\n\r\nI hope I covered everything.\r\n\r\nNothing was changed on the program logic.","created_at":"2015-05-31T00:59:16Z","updated_at":"2015-05-31T03:56:37Z","closed_at":"2015-05-31T03:56:37Z","merged_at":"2015-05-31T03:56:37Z","merge_commit_sha":"8dee8b0696f63a2433f85fb76ebf78db1175eeb3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/alvarowolfx/dojo-s01e01-cheque-por-extenso.clj/pulls/4/commits","review_comments_url":"https://api.github.com/repos/alvarowolfx/dojo-s01e01-cheque-por-extenso.clj/pulls/4/comments","review_comment_url":"https://api.github.com/repos/alvarowolfx/dojo-s01e01-cheque-por-extenso.clj/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alvarowolfx/dojo-s01e01-cheque-por-extenso.clj/issues/4/comments","statuses_url":"https://api.github.com/repos/alvarowolfx/dojo-s01e01-cheque-por-extenso.clj/statuses/adc01d08831b84f3444dcd0a860d9161e2c8bdf9","head":{"label":"EduardoMRB:master","ref":"master","sha":"adc01d08831b84f3444dcd0a860d9161e2c8bdf9","user":{"login":"EduardoMRB","id":2163269,"avatar_url":"https://avatars.githubusercontent.com/u/2163269?v=3","gravatar_id":"","url":"https://api.github.com/users/EduardoMRB","html_url":"https://github.com/EduardoMRB","followers_url":"https://api.github.com/users/EduardoMRB/followers","following_url":"https://api.github.com/users/EduardoMRB/following{/other_user}","gists_url":"https://api.github.com/users/EduardoMRB/gists{/gist_id}","starred_url":"https://api.github.com/users/EduardoMRB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EduardoMRB/subscriptions","organizations_url":"https://api.github.com/users/EduardoMRB/orgs","repos_url":"https://api.github.com/users/EduardoMRB/repos","events_url":"https://api.github.com/users/EduardoMRB/events{/privacy}","received_events_url":"https://api.github.com/users/EduardoMRB/received_events","type":"User","site_admin":false},"repo":{"id":36574481,"name":"dojo-s01e01-cheque-por-extenso.clj","full_name":"EduardoMRB/dojo-s01e01-cheque-por-extenso.clj","owner":{"login":"EduardoMRB","id":2163269,"avatar_url":"https://avatars.githubusercontent.com/u/2163269?v=3","gravatar_id":"","url":"https://api.github.com/users/EduardoMRB","html_url":"https://github.com/EduardoMRB","followers_url":"https://api.github.com/users/EduardoMRB/followers","following_url":"https://api.github.com/users/EduardoMRB/following{/other_user}","gists_url":"https://api.github.com/users/EduardoMRB/gists{/gist_id}","starred_url":"https://api.github.com/users/EduardoMRB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EduardoMRB/subscriptions","organizations_url":"https://api.github.com/users/EduardoMRB/orgs","repos_url":"https://api.github.com/users/EduardoMRB/repos","events_url":"https://api.github.com/users/EduardoMRB/events{/privacy}","received_events_url":"https://api.github.com/users/EduardoMRB/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/EduardoMRB/dojo-s01e01-cheque-por-extenso.clj","description":"Implementação do problema proposto no dojo S01E01 do DevMT","fork":true,"url":"https://api.github.com/repos/EduardoMRB/dojo-s01e01-cheque-por-extenso.clj","forks_url":"https://api.github.com/repos/EduardoMRB/dojo-s01e01-cheque-por-extenso.clj/forks","keys_url":"https://api.github.com/repos/EduardoMRB/dojo-s01e01-cheque-por-extenso.clj/keys{/key_id}","collaborators_url":"https://api.github.com/repos/EduardoMRB/dojo-s01e01-cheque-por-extenso.clj/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/EduardoMRB/dojo-s01e01-cheque-por-extenso.clj/teams","hooks_url":"https://api.github.com/repos/EduardoMRB/dojo-s01e01-cheque-por-extenso.clj/hooks","issue_events_url":"https://api.github.com/repos/EduardoMRB/dojo-s01e01-cheque-por-extenso.clj/issues/events{/number}","events_url":"https://api.github.com/repos/EduardoMRB/dojo-s01e01-cheque-por-extenso.clj/events","assignees_url":"https://api.github.com/repos/EduardoMRB/dojo-s01e01-cheque-por-extenso.clj/assignees{/user}","branches_url":"https://api.github.com/repos/EduardoMRB/dojo-s01e01-cheque-por-extenso.clj/branches{/branch}","tags_url":"https://api.github.com/repos/EduardoMRB/dojo-s01e01-cheque-por-extenso.clj/tags","blobs_url":"https://api.github.com/repos/EduardoMRB/dojo-s01e01-cheque-por-extenso.clj/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/EduardoMRB/dojo-s01e01-cheque-por-extenso.clj/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/EduardoMRB/dojo-s01e01-cheque-por-extenso.clj/git/refs{/sha}","trees_url":"https://api.github.com/repos/EduardoMRB/dojo-s01e01-cheque-por-extenso.clj/git/trees{/sha}","statuses_url":"https://api.github.com/repos/EduardoMRB/dojo-s01e01-cheque-por-extenso.clj/statuses/{sha}","languages_url":"https://api.github.com/repos/EduardoMRB/dojo-s01e01-cheque-por-extenso.clj/languages","stargazers_url":"https://api.github.com/repos/EduardoMRB/dojo-s01e01-cheque-por-extenso.clj/stargazers","contributors_url":"https://api.github.com/repos/EduardoMRB/dojo-s01e01-cheque-por-extenso.clj/contributors","subscribers_url":"https://api.github.com/repos/EduardoMRB/dojo-s01e01-cheque-por-extenso.clj/subscribers","subscription_url":"https://api.github.com/repos/EduardoMRB/dojo-s01e01-cheque-por-extenso.clj/subscription","commits_url":"https://api.github.com/repos/EduardoMRB/dojo-s01e01-cheque-por-extenso.clj/commits{/sha}","git_commits_url":"https://api.github.com/repos/EduardoMRB/dojo-s01e01-cheque-por-extenso.clj/git/commits{/sha}","comments_url":"https://api.github.com/repos/EduardoMRB/dojo-s01e01-cheque-por-extenso.clj/comments{/number}","issue_comment_url":"https://api.github.com/repos/EduardoMRB/dojo-s01e01-cheque-por-extenso.clj/issues/comments{/number}","contents_url":"https://api.github.com/repos/EduardoMRB/dojo-s01e01-cheque-por-extenso.clj/contents/{+path}","compare_url":"https://api.github.com/repos/EduardoMRB/dojo-s01e01-cheque-por-extenso.clj/compare/{base}...{head}","merges_url":"https://api.github.com/repos/EduardoMRB/dojo-s01e01-cheque-por-extenso.clj/merges","archive_url":"https://api.github.com/repos/EduardoMRB/dojo-s01e01-cheque-por-extenso.clj/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/EduardoMRB/dojo-s01e01-cheque-por-extenso.clj/downloads","issues_url":"https://api.github.com/repos/EduardoMRB/dojo-s01e01-cheque-por-extenso.clj/issues{/number}","pulls_url":"https://api.github.com/repos/EduardoMRB/dojo-s01e01-cheque-por-extenso.clj/pulls{/number}","milestones_url":"https://api.github.com/repos/EduardoMRB/dojo-s01e01-cheque-por-extenso.clj/milestones{/number}","notifications_url":"https://api.github.com/repos/EduardoMRB/dojo-s01e01-cheque-por-extenso.clj/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/EduardoMRB/dojo-s01e01-cheque-por-extenso.clj/labels{/name}","releases_url":"https://api.github.com/repos/EduardoMRB/dojo-s01e01-cheque-por-extenso.clj/releases{/id}","created_at":"2015-05-30T20:30:08Z","updated_at":"2015-05-30T20:30:08Z","pushed_at":"2015-05-31T00:57:43Z","git_url":"git://github.com/EduardoMRB/dojo-s01e01-cheque-por-extenso.clj.git","ssh_url":"git@github.com:EduardoMRB/dojo-s01e01-cheque-por-extenso.clj.git","clone_url":"https://github.com/EduardoMRB/dojo-s01e01-cheque-por-extenso.clj.git","svn_url":"https://github.com/EduardoMRB/dojo-s01e01-cheque-por-extenso.clj","homepage":null,"size":144,"stargazers_count":0,"watchers_count":0,"language":"Clojure","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":"alvarowolfx:master","ref":"master","sha":"c09c26c55b2a2a8f1297b73d35575e3aad390830","user":{"login":"alvarowolfx","id":1615543,"avatar_url":"https://avatars.githubusercontent.com/u/1615543?v=3","gravatar_id":"","url":"https://api.github.com/users/alvarowolfx","html_url":"https://github.com/alvarowolfx","followers_url":"https://api.github.com/users/alvarowolfx/followers","following_url":"https://api.github.com/users/alvarowolfx/following{/other_user}","gists_url":"https://api.github.com/users/alvarowolfx/gists{/gist_id}","starred_url":"https://api.github.com/users/alvarowolfx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alvarowolfx/subscriptions","organizations_url":"https://api.github.com/users/alvarowolfx/orgs","repos_url":"https://api.github.com/users/alvarowolfx/repos","events_url":"https://api.github.com/users/alvarowolfx/events{/privacy}","received_events_url":"https://api.github.com/users/alvarowolfx/received_events","type":"User","site_admin":false},"repo":{"id":35913357,"name":"dojo-s01e01-cheque-por-extenso.clj","full_name":"alvarowolfx/dojo-s01e01-cheque-por-extenso.clj","owner":{"login":"alvarowolfx","id":1615543,"avatar_url":"https://avatars.githubusercontent.com/u/1615543?v=3","gravatar_id":"","url":"https://api.github.com/users/alvarowolfx","html_url":"https://github.com/alvarowolfx","followers_url":"https://api.github.com/users/alvarowolfx/followers","following_url":"https://api.github.com/users/alvarowolfx/following{/other_user}","gists_url":"https://api.github.com/users/alvarowolfx/gists{/gist_id}","starred_url":"https://api.github.com/users/alvarowolfx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alvarowolfx/subscriptions","organizations_url":"https://api.github.com/users/alvarowolfx/orgs","repos_url":"https://api.github.com/users/alvarowolfx/repos","events_url":"https://api.github.com/users/alvarowolfx/events{/privacy}","received_events_url":"https://api.github.com/users/alvarowolfx/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alvarowolfx/dojo-s01e01-cheque-por-extenso.clj","description":"Implementação do problema proposto no dojo S01E01 do DevMT","fork":false,"url":"https://api.github.com/repos/alvarowolfx/dojo-s01e01-cheque-por-extenso.clj","forks_url":"https://api.github.com/repos/alvarowolfx/dojo-s01e01-cheque-por-extenso.clj/forks","keys_url":"https://api.github.com/repos/alvarowolfx/dojo-s01e01-cheque-por-extenso.clj/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alvarowolfx/dojo-s01e01-cheque-por-extenso.clj/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alvarowolfx/dojo-s01e01-cheque-por-extenso.clj/teams","hooks_url":"https://api.github.com/repos/alvarowolfx/dojo-s01e01-cheque-por-extenso.clj/hooks","issue_events_url":"https://api.github.com/repos/alvarowolfx/dojo-s01e01-cheque-por-extenso.clj/issues/events{/number}","events_url":"https://api.github.com/repos/alvarowolfx/dojo-s01e01-cheque-por-extenso.clj/events","assignees_url":"https://api.github.com/repos/alvarowolfx/dojo-s01e01-cheque-por-extenso.clj/assignees{/user}","branches_url":"https://api.github.com/repos/alvarowolfx/dojo-s01e01-cheque-por-extenso.clj/branches{/branch}","tags_url":"https://api.github.com/repos/alvarowolfx/dojo-s01e01-cheque-por-extenso.clj/tags","blobs_url":"https://api.github.com/repos/alvarowolfx/dojo-s01e01-cheque-por-extenso.clj/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alvarowolfx/dojo-s01e01-cheque-por-extenso.clj/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alvarowolfx/dojo-s01e01-cheque-por-extenso.clj/git/refs{/sha}","trees_url":"https://api.github.com/repos/alvarowolfx/dojo-s01e01-cheque-por-extenso.clj/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alvarowolfx/dojo-s01e01-cheque-por-extenso.clj/statuses/{sha}","languages_url":"https://api.github.com/repos/alvarowolfx/dojo-s01e01-cheque-por-extenso.clj/languages","stargazers_url":"https://api.github.com/repos/alvarowolfx/dojo-s01e01-cheque-por-extenso.clj/stargazers","contributors_url":"https://api.github.com/repos/alvarowolfx/dojo-s01e01-cheque-por-extenso.clj/contributors","subscribers_url":"https://api.github.com/repos/alvarowolfx/dojo-s01e01-cheque-por-extenso.clj/subscribers","subscription_url":"https://api.github.com/repos/alvarowolfx/dojo-s01e01-cheque-por-extenso.clj/subscription","commits_url":"https://api.github.com/repos/alvarowolfx/dojo-s01e01-cheque-por-extenso.clj/commits{/sha}","git_commits_url":"https://api.github.com/repos/alvarowolfx/dojo-s01e01-cheque-por-extenso.clj/git/commits{/sha}","comments_url":"https://api.github.com/repos/alvarowolfx/dojo-s01e01-cheque-por-extenso.clj/comments{/number}","issue_comment_url":"https://api.github.com/repos/alvarowolfx/dojo-s01e01-cheque-por-extenso.clj/issues/comments{/number}","contents_url":"https://api.github.com/repos/alvarowolfx/dojo-s01e01-cheque-por-extenso.clj/contents/{+path}","compare_url":"https://api.github.com/repos/alvarowolfx/dojo-s01e01-cheque-por-extenso.clj/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alvarowolfx/dojo-s01e01-cheque-por-extenso.clj/merges","archive_url":"https://api.github.com/repos/alvarowolfx/dojo-s01e01-cheque-por-extenso.clj/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alvarowolfx/dojo-s01e01-cheque-por-extenso.clj/downloads","issues_url":"https://api.github.com/repos/alvarowolfx/dojo-s01e01-cheque-por-extenso.clj/issues{/number}","pulls_url":"https://api.github.com/repos/alvarowolfx/dojo-s01e01-cheque-por-extenso.clj/pulls{/number}","milestones_url":"https://api.github.com/repos/alvarowolfx/dojo-s01e01-cheque-por-extenso.clj/milestones{/number}","notifications_url":"https://api.github.com/repos/alvarowolfx/dojo-s01e01-cheque-por-extenso.clj/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alvarowolfx/dojo-s01e01-cheque-por-extenso.clj/labels{/name}","releases_url":"https://api.github.com/repos/alvarowolfx/dojo-s01e01-cheque-por-extenso.clj/releases{/id}","created_at":"2015-05-19T23:05:37Z","updated_at":"2015-05-26T14:04:35Z","pushed_at":"2015-05-31T03:56:37Z","git_url":"git://github.com/alvarowolfx/dojo-s01e01-cheque-por-extenso.clj.git","ssh_url":"git@github.com:alvarowolfx/dojo-s01e01-cheque-por-extenso.clj.git","clone_url":"https://github.com/alvarowolfx/dojo-s01e01-cheque-por-extenso.clj.git","svn_url":"https://github.com/alvarowolfx/dojo-s01e01-cheque-por-extenso.clj","homepage":null,"size":144,"stargazers_count":1,"watchers_count":1,"language":"Clojure","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":0,"forks":2,"open_issues":0,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alvarowolfx/dojo-s01e01-cheque-por-extenso.clj/pulls/4"},"html":{"href":"https://github.com/alvarowolfx/dojo-s01e01-cheque-por-extenso.clj/pull/4"},"issue":{"href":"https://api.github.com/repos/alvarowolfx/dojo-s01e01-cheque-por-extenso.clj/issues/4"},"comments":{"href":"https://api.github.com/repos/alvarowolfx/dojo-s01e01-cheque-por-extenso.clj/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/alvarowolfx/dojo-s01e01-cheque-por-extenso.clj/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/alvarowolfx/dojo-s01e01-cheque-por-extenso.clj/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alvarowolfx/dojo-s01e01-cheque-por-extenso.clj/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/alvarowolfx/dojo-s01e01-cheque-por-extenso.clj/statuses/adc01d08831b84f3444dcd0a860d9161e2c8bdf9"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"alvarowolfx","id":1615543,"avatar_url":"https://avatars.githubusercontent.com/u/1615543?v=3","gravatar_id":"","url":"https://api.github.com/users/alvarowolfx","html_url":"https://github.com/alvarowolfx","followers_url":"https://api.github.com/users/alvarowolfx/followers","following_url":"https://api.github.com/users/alvarowolfx/following{/other_user}","gists_url":"https://api.github.com/users/alvarowolfx/gists{/gist_id}","starred_url":"https://api.github.com/users/alvarowolfx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alvarowolfx/subscriptions","organizations_url":"https://api.github.com/users/alvarowolfx/orgs","repos_url":"https://api.github.com/users/alvarowolfx/repos","events_url":"https://api.github.com/users/alvarowolfx/events{/privacy}","received_events_url":"https://api.github.com/users/alvarowolfx/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":88,"deletions":96,"changed_files":2}}