let checkUrls =
Seq.fold (fun (acc:List) (x:string) ->
if (AsyncHttp(x) = HttpStatusCode.OK) then
(x :: acc)
else
acc)
[]
urls
In example above [] and URLs should be indented further then the call to the function, so it should look like a code below:
let checkUrls =
Seq.fold (fun (acc:List) (x:string) ->
if (AsyncHttp(x) = HttpStatusCode.OK) then
(x :: acc)
else
acc)
[]
urls
No comments:
Post a Comment