{"action":"created","issue":{"url":"https://api.github.com/repos/mtgred/netrunner/issues/1077","labels_url":"https://api.github.com/repos/mtgred/netrunner/issues/1077/labels{/name}","comments_url":"https://api.github.com/repos/mtgred/netrunner/issues/1077/comments","events_url":"https://api.github.com/repos/mtgred/netrunner/issues/1077/events","html_url":"https://github.com/mtgred/netrunner/pull/1077","id":125474990,"number":1077,"title":"Code Prettifying","user":{"login":"Saintis","id":13198563,"avatar_url":"https://avatars.githubusercontent.com/u/13198563?v=3","gravatar_id":"","url":"https://api.github.com/users/Saintis","html_url":"https://github.com/Saintis","followers_url":"https://api.github.com/users/Saintis/followers","following_url":"https://api.github.com/users/Saintis/following{/other_user}","gists_url":"https://api.github.com/users/Saintis/gists{/gist_id}","starred_url":"https://api.github.com/users/Saintis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Saintis/subscriptions","organizations_url":"https://api.github.com/users/Saintis/orgs","repos_url":"https://api.github.com/users/Saintis/repos","events_url":"https://api.github.com/users/Saintis/events{/privacy}","received_events_url":"https://api.github.com/users/Saintis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-07T20:09:15Z","updated_at":"2016-01-08T09:21:37Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mtgred/netrunner/pulls/1077","html_url":"https://github.com/mtgred/netrunner/pull/1077","diff_url":"https://github.com/mtgred/netrunner/pull/1077.diff","patch_url":"https://github.com/mtgred/netrunner/pull/1077.patch"},"body":"Major attempt to make use of some (hopefully) more readable functions and idioms.\r\n\r\nDoes the following:\r\n- Adds and makes use of `in-hand?` `is-type?` `has-subtype?`\r\n- Makes use of `installed?` and `ice?` more extensive\r\n- Splits several `and` and `or` expressions into several lines for readability\r\n- Changes occurrences of `(if (not x))` to `(if-not x)`, same for `when`\r\n- Makes use of `when` instead of `if` when relevant\r\n- Makes use of `pos?` and `neg?`\r\n- Refactors `resolve-ability` into several helper functions\r\n- Removes unused `side-str` function\r\n- Adds some docstrings\r\n\r\nProbably needs a lot of review as there are a lot of changes :smile: "},"comment":{"url":"https://api.github.com/repos/mtgred/netrunner/issues/comments/169944338","html_url":"https://github.com/mtgred/netrunner/pull/1077#issuecomment-169944338","issue_url":"https://api.github.com/repos/mtgred/netrunner/issues/1077","id":169944338,"user":{"login":"zaroth","id":840021,"avatar_url":"https://avatars.githubusercontent.com/u/840021?v=3","gravatar_id":"","url":"https://api.github.com/users/zaroth","html_url":"https://github.com/zaroth","followers_url":"https://api.github.com/users/zaroth/followers","following_url":"https://api.github.com/users/zaroth/following{/other_user}","gists_url":"https://api.github.com/users/zaroth/gists{/gist_id}","starred_url":"https://api.github.com/users/zaroth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zaroth/subscriptions","organizations_url":"https://api.github.com/users/zaroth/orgs","repos_url":"https://api.github.com/users/zaroth/repos","events_url":"https://api.github.com/users/zaroth/events{/privacy}","received_events_url":"https://api.github.com/users/zaroth/received_events","type":"User","site_admin":false},"created_at":"2016-01-08T09:21:37Z","updated_at":"2016-01-08T09:21:37Z","body":"Great job! :+1: Had a few tiny concerns/comments, added them in line."}}