{"action":"created","issue":{"url":"https://api.github.com/repos/bjpop/biotool/issues/1","repository_url":"https://api.github.com/repos/bjpop/biotool","labels_url":"https://api.github.com/repos/bjpop/biotool/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/bjpop/biotool/issues/1/comments","events_url":"https://api.github.com/repos/bjpop/biotool/issues/1/events","html_url":"https://github.com/bjpop/biotool/pull/1","id":153033852,"number":1,"title":"Use Functor in updateStats","user":{"login":"drpowell","id":123456,"avatar_url":"https://avatars.githubusercontent.com/u/123456?v=3","gravatar_id":"","url":"https://api.github.com/users/drpowell","html_url":"https://github.com/drpowell","followers_url":"https://api.github.com/users/drpowell/followers","following_url":"https://api.github.com/users/drpowell/following{/other_user}","gists_url":"https://api.github.com/users/drpowell/gists{/gist_id}","starred_url":"https://api.github.com/users/drpowell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drpowell/subscriptions","organizations_url":"https://api.github.com/users/drpowell/orgs","repos_url":"https://api.github.com/users/drpowell/repos","events_url":"https://api.github.com/users/drpowell/events{/privacy}","received_events_url":"https://api.github.com/users/drpowell/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-04T14:59:43Z","updated_at":"2016-05-05T23:52:50Z","closed_at":"2016-05-05T10:08:29Z","pull_request":{"url":"https://api.github.com/repos/bjpop/biotool/pulls/1","html_url":"https://github.com/bjpop/biotool/pull/1","diff_url":"https://github.com/bjpop/biotool/pull/1.diff","patch_url":"https://github.com/bjpop/biotool/pull/1.patch"},"body":"This `updateStats` is definitely shorter, and perhaps clearer in intent.  Interested to know what you think.  I guess for a \"beginner\" the use of Functor and Alternative is not obvious...\r\n\r\nAlso, used Either in `prettyOutput` to allow error reporting."},"comment":{"url":"https://api.github.com/repos/bjpop/biotool/issues/comments/217312649","html_url":"https://github.com/bjpop/biotool/pull/1#issuecomment-217312649","issue_url":"https://api.github.com/repos/bjpop/biotool/issues/1","id":217312649,"user":{"login":"drpowell","id":123456,"avatar_url":"https://avatars.githubusercontent.com/u/123456?v=3","gravatar_id":"","url":"https://api.github.com/users/drpowell","html_url":"https://github.com/drpowell","followers_url":"https://api.github.com/users/drpowell/followers","following_url":"https://api.github.com/users/drpowell/following{/other_user}","gists_url":"https://api.github.com/users/drpowell/gists{/gist_id}","starred_url":"https://api.github.com/users/drpowell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drpowell/subscriptions","organizations_url":"https://api.github.com/users/drpowell/orgs","repos_url":"https://api.github.com/users/drpowell/repos","events_url":"https://api.github.com/users/drpowell/events{/privacy}","received_events_url":"https://api.github.com/users/drpowell/received_events","type":"User","site_admin":false},"created_at":"2016-05-05T23:52:50Z","updated_at":"2016-05-05T23:52:50Z","body":"Yep, fair enough, and I think your version is easier for others to understand.  Although I think use of fmap is more idiomatic"}}