{"action":"closed","issue":{"url":"https://api.github.com/repos/paf31/purescript-book-sources/issues/5","labels_url":"https://api.github.com/repos/paf31/purescript-book-sources/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/paf31/purescript-book-sources/issues/5/comments","events_url":"https://api.github.com/repos/paf31/purescript-book-sources/issues/5/events","html_url":"https://github.com/paf31/purescript-book-sources/issues/5","id":61431564,"number":5,"title":"Rewrite `factors` to use the `any` function?","user":{"login":"Javran","id":1096354,"avatar_url":"https://avatars.githubusercontent.com/u/1096354?v=3","gravatar_id":"","url":"https://api.github.com/users/Javran","html_url":"https://github.com/Javran","followers_url":"https://api.github.com/users/Javran/followers","following_url":"https://api.github.com/users/Javran/following{/other_user}","gists_url":"https://api.github.com/users/Javran/gists{/gist_id}","starred_url":"https://api.github.com/users/Javran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Javran/subscriptions","organizations_url":"https://api.github.com/users/Javran/orgs","repos_url":"https://api.github.com/users/Javran/repos","events_url":"https://api.github.com/users/Javran/events{/privacy}","received_events_url":"https://api.github.com/users/Javran/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-14T05:30:24Z","updated_at":"2015-08-07T04:02:39Z","closed_at":"2015-08-07T04:02:39Z","body":"This is more like a question than an issue.\r\n\r\nFrom chapter 4, one exercise wants us to rewrite `factors` using `any` function.\r\nBut it makes more sense to me rewriting `isPrime` using `any` function.\r\nSince `any` can only return a Bool value, the information is IMHO just not enough to construct the resulting list of `factors`."}}