Skip to content

Instantly share code, notes, and snippets.

View jackfoxy's full-sized avatar

Jack Fox jackfoxy

View GitHub Profile
@cloudRoutine
cloudRoutine / paracomp.fsx
Last active November 15, 2015 22:27
Heterogeneous Parallel Async Composition Operator
(*
Heterogeneous Parallel Async Composition Operator
- an evolution of http://jackfoxy.com/transparent-heterogeneous-parallel-async-with-fsharp/
*)
type 'T Parallel =
private {
Compute : obj Async []
Unpack : obj [] -> int -> 'T
}