Created
May 19, 2015 09:35
-
-
Save lenadroid/745ba81771c50545eb2d to your computer and use it in GitHub Desktop.
This file contains hidden or 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 songFiles = | |
| // url addresses to song lyrics are there | |
| // full sample here https://github.com/lenadroid/dotnetfringe/blob/master/azure/NetFringe/CloudFlows.fsx | |
| [| ... |] | |
| |> CloudFlow.ofArray | |
| |> CloudFlow.map download | |
| |> CloudFlow.filter (fun s -> s.Length > 300) | |
| |> CloudFlow.map (fun s -> s.Substring(0, s.IndexOf("\n") - 1)) | |
| |> CloudFlow.toArray | |
| |> cluster.CreateProcess | |
| songFiles.AwaitResult() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment