Skip to content

Instantly share code, notes, and snippets.

@dbrattli
Last active October 15, 2018 05:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dbrattli/004a7cc00026d52ec590ae15eb48394b to your computer and use it in GitHub Desktop.
Save dbrattli/004a7cc00026d52ec590ae15eb48394b to your computer and use it in GitHub Desktop.
Promise Computational Expression
let pr = promise {
let! res1 = fetch "http://test1"
let! res2 = fetch "http://test2"
let! res3 = fetch "http://test3"
let! res4 = fetch "http://test3"
return res4
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment