{"action":"created","issue":{"url":"https://api.github.com/repos/javaslang/javaslang.github.io/issues/37","labels_url":"https://api.github.com/repos/javaslang/javaslang.github.io/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/javaslang/javaslang.github.io/issues/37/comments","events_url":"https://api.github.com/repos/javaslang/javaslang.github.io/issues/37/events","html_url":"https://github.com/javaslang/javaslang.github.io/pull/37","id":127032406,"number":37,"title":"adding documentation for 'Validation' type","user":{"login":"enelson","id":124756,"avatar_url":"https://avatars.githubusercontent.com/u/124756?v=3","gravatar_id":"","url":"https://api.github.com/users/enelson","html_url":"https://github.com/enelson","followers_url":"https://api.github.com/users/enelson/followers","following_url":"https://api.github.com/users/enelson/following{/other_user}","gists_url":"https://api.github.com/users/enelson/gists{/gist_id}","starred_url":"https://api.github.com/users/enelson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enelson/subscriptions","organizations_url":"https://api.github.com/users/enelson/orgs","repos_url":"https://api.github.com/users/enelson/repos","events_url":"https://api.github.com/users/enelson/events{/privacy}","received_events_url":"https://api.github.com/users/enelson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-16T15:40:33Z","updated_at":"2016-01-16T22:52:57Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/javaslang/javaslang.github.io/pulls/37","html_url":"https://github.com/javaslang/javaslang.github.io/pull/37","diff_url":"https://github.com/javaslang/javaslang.github.io/pull/37.diff","patch_url":"https://github.com/javaslang/javaslang.github.io/pull/37.patch"},"body":"Let me know if this is something you'd like to have on the Javaslang site. Thanks Daniel."},"comment":{"url":"https://api.github.com/repos/javaslang/javaslang.github.io/issues/comments/172266662","html_url":"https://github.com/javaslang/javaslang.github.io/pull/37#issuecomment-172266662","issue_url":"https://api.github.com/repos/javaslang/javaslang.github.io/issues/37","id":172266662,"user":{"login":"danieldietrich","id":743833,"avatar_url":"https://avatars.githubusercontent.com/u/743833?v=3","gravatar_id":"","url":"https://api.github.com/users/danieldietrich","html_url":"https://github.com/danieldietrich","followers_url":"https://api.github.com/users/danieldietrich/followers","following_url":"https://api.github.com/users/danieldietrich/following{/other_user}","gists_url":"https://api.github.com/users/danieldietrich/gists{/gist_id}","starred_url":"https://api.github.com/users/danieldietrich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danieldietrich/subscriptions","organizations_url":"https://api.github.com/users/danieldietrich/orgs","repos_url":"https://api.github.com/users/danieldietrich/repos","events_url":"https://api.github.com/users/danieldietrich/events{/privacy}","received_events_url":"https://api.github.com/users/danieldietrich/received_events","type":"User","site_admin":false},"created_at":"2016-01-16T22:52:57Z","updated_at":"2016-01-16T22:52:57Z","body":"@enelson I've played around a bit more with Validation. What is the use-case for `Validation.valid(Supplier)` and `Validation.invalid(Supplier)`?\r\n\r\nI think we can remove them because Validation needs to be eager initialized in each case because it needs to validate each value on its way down to the whole result.\r\n\r\n* `Validation.valid(() -> value)` is the same as `Validation.valid(value)`\r\n* `Validation.valid(supplier)` is the same as `Validation.valid(supplier.get())`\r\n* `Validation.valid(meth::ref)` is the same as `Validation.valid(meth.ref())`"}}