scan-vector-machine-0.2.7: An implementation of the Scan Vector Machine instruction set in Haskell

Safe HaskellSafe-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.