Safe Haskell | Safe-Infered |
---|
An instance
instance Num s => SVM.ScanVectorMachine ([::]) s
... demonstrating that the parallel arrays [:s:]
of
Data Parallel Haskell support the SVM operations. In truth this
is a bit backward: DPH is a high-level nested data parallel
language which ought to compile down to something like SVM.
Unfortunately DPH's mapP
allows closures and uncontained
recursion into the parallel context, so this isn't possible.