open Microsoft.FSharp.Control.CommonExtensions
let req = WebRequest.Create(Uri(url))
use! resp = req.AsyncGetResponse()
use stream = resp.GetResponseStream()
use reader = new IO.StreamReader(stream)
let html = reader.ReadToEnd()
printfn "finished downloading %s" url
let sites = ["http://www.bing.com";
"http://www.microsoft.com";
|> List.map fetchUrlAsync
|> Async.RunSynchronously