{"action":"created","issue":{"url":"https://api.github.com/repos/nikita-volkov/refined/issues/4","labels_url":"https://api.github.com/repos/nikita-volkov/refined/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/nikita-volkov/refined/issues/4/comments","events_url":"https://api.github.com/repos/nikita-volkov/refined/issues/4/events","html_url":"https://github.com/nikita-volkov/refined/pull/4","id":106201671,"number":4,"title":"Make 'validate' return a message on both failure and success","user":{"login":"lamefun","id":433585,"avatar_url":"https://avatars.githubusercontent.com/u/433585?v=3","gravatar_id":"","url":"https://api.github.com/users/lamefun","html_url":"https://github.com/lamefun","followers_url":"https://api.github.com/users/lamefun/followers","following_url":"https://api.github.com/users/lamefun/following{/other_user}","gists_url":"https://api.github.com/users/lamefun/gists{/gist_id}","starred_url":"https://api.github.com/users/lamefun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lamefun/subscriptions","organizations_url":"https://api.github.com/users/lamefun/orgs","repos_url":"https://api.github.com/users/lamefun/repos","events_url":"https://api.github.com/users/lamefun/events{/privacy}","received_events_url":"https://api.github.com/users/lamefun/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-09-13T06:33:10Z","updated_at":"2015-09-20T08:58:46Z","closed_at":"2015-09-16T08:03:01Z","pull_request":{"url":"https://api.github.com/repos/nikita-volkov/refined/pulls/4","html_url":"https://github.com/nikita-volkov/refined/pull/4","diff_url":"https://github.com/nikita-volkov/refined/pull/4.diff","patch_url":"https://github.com/nikita-volkov/refined/pull/4.patch"},"body":"This makes it possible for 'Not' predicates to return meaningful error messages. This request also adds a few more numeric predicates.\r\n\r\nOld behavior:\r\n\r\n    >>> refine 2 :: Either String (Refined ZeroToOne Int)\r\n    Left \"The right subpredicate failed with: A subpredicate didn't fail\"\r\n\r\nNew behavior:\r\n\r\n    >>> refine 2 :: Either String (Refined ZeroToOne Int)\r\n    Left \"Value is greater than 1\""},"comment":{"url":"https://api.github.com/repos/nikita-volkov/refined/issues/comments/141759328","html_url":"https://github.com/nikita-volkov/refined/pull/4#issuecomment-141759328","issue_url":"https://api.github.com/repos/nikita-volkov/refined/issues/4","id":141759328,"user":{"login":"nikita-volkov","id":1560937,"avatar_url":"https://avatars.githubusercontent.com/u/1560937?v=3","gravatar_id":"","url":"https://api.github.com/users/nikita-volkov","html_url":"https://github.com/nikita-volkov","followers_url":"https://api.github.com/users/nikita-volkov/followers","following_url":"https://api.github.com/users/nikita-volkov/following{/other_user}","gists_url":"https://api.github.com/users/nikita-volkov/gists{/gist_id}","starred_url":"https://api.github.com/users/nikita-volkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikita-volkov/subscriptions","organizations_url":"https://api.github.com/users/nikita-volkov/orgs","repos_url":"https://api.github.com/users/nikita-volkov/repos","events_url":"https://api.github.com/users/nikita-volkov/events{/privacy}","received_events_url":"https://api.github.com/users/nikita-volkov/received_events","type":"User","site_admin":false},"created_at":"2015-09-20T08:58:46Z","updated_at":"2015-09-20T08:58:46Z","body":"@fthomas Thanks for the info. Would be nice to see your final solution when it's released."}}