look at this garbage syntax,<p><pre><code> let readFilesTask (path1, path2) =
async {
let! bytes1 = File.ReadAllBytesAsync(path1) |> Async.AwaitTask
let! bytes2 = File.ReadAllBytesAsync(path2) |> Async.AwaitTask
return Array.append bytes1 bytes2
} |> Async.StartAsTask
</code></pre>
async await.. so ugly. I have a heard time getting excited at this "state of the art" when parallel processing in Erlang is so ubiquitous and native.