parallel

Elegant Solution?

Elegant Solution Hey People. I'm currently working on a Project and I am thinking of an elegant solution for the implementation, I'm tired of improvised solutions. Let me try to explain my "Problem" to you: The task of this part of my app is pretty simple: I want my app to download some stuff and process that downloaded file in the ...

How do I write a parallel reduction using strategies in Haskell?

In high-performance computing, sums, products, etc are often calculated using a "parallel reduction" that takes n elements and completes in O(log n) time (given enough parallelism). In Haskell, we usually use a fold for this kind of calculation, but evaluation time is always linear in the length of the list. Data Parallel Haskell has so...