Skip to content

Instantly share code, notes, and snippets.

@jhewlett
Last active December 18, 2018 19:44
Show Gist options
  • Save jhewlett/167b50aeaea817a774fbdc685a89f417 to your computer and use it in GitHub Desktop.
Save jhewlett/167b50aeaea817a774fbdc685a89f417 to your computer and use it in GitHub Desktop.
Sequence of checks
let allResults : Result<unit, NotAuthorized> seq =
seq {
yield firstCheckResult ()
yield secondCheckResult ()
yield thirdCheckResult ()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment