Last active
August 29, 2015 14:19
-
-
Save lenadroid/f7b71b2e5a74b90b0ddd to your computer and use it in GitHub Desktop.
F# in the cloud
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let maxContentLength = cloud { | |
let lengthsJob = [| "https://github.com";"http://www.microsoft.com/"|] | |
|> Array.map (getContentLength >> Cloud.OfAsync) | |
let! lengths = Cloud.Parallel lengthsJob | |
return Array.max lengths | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment