{"comment":{"url":"https://api.github.com/repos/froberg/FsSnip.Website/comments/14671614","html_url":"https://github.com/froberg/FsSnip.Website/commit/c9f57b7f34360b855af6c5cf492970a095aea228#commitcomment-14671614","id":14671614,"user":{"login":"tpetricek","id":485413,"avatar_url":"https://avatars.githubusercontent.com/u/485413?v=3","gravatar_id":"","url":"https://api.github.com/users/tpetricek","html_url":"https://github.com/tpetricek","followers_url":"https://api.github.com/users/tpetricek/followers","following_url":"https://api.github.com/users/tpetricek/following{/other_user}","gists_url":"https://api.github.com/users/tpetricek/gists{/gist_id}","starred_url":"https://api.github.com/users/tpetricek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tpetricek/subscriptions","organizations_url":"https://api.github.com/users/tpetricek/orgs","repos_url":"https://api.github.com/users/tpetricek/repos","events_url":"https://api.github.com/users/tpetricek/events{/privacy}","received_events_url":"https://api.github.com/users/tpetricek/received_events","type":"User","site_admin":false},"position":13,"line":60,"path":"code/common/data.fs","commit_id":"c9f57b7f34360b855af6c5cf492970a095aea228","created_at":"2015-11-30T01:37:57Z","updated_at":"2015-11-30T01:37:57Z","body":"Normally, you could write this using `Option.bind`:\r\n\r\n    publicSnippets\r\n    |> Seq.tryFind (...)\r\n    |> Option.bind (fun snippetInfo ->\r\n         // Return None or Some here\r\n        )\r\n\r\nBut if we're going to use Chessie, you can use something like:\r\n\r\n    |> Trial.failIfNone ...\r\n    |> Trial.bind (fun snippetInfo -> ...)"}}