If you're looking for existing concurrency libraries, I would start here and explore backwards through the dependencies if you need a lower-level API:

https://hackage.haskell.org/package/lifted-async-0.10.0.4/docs/Control-Concurrent-Async-Lifted.html

On Thu, Jan 16, 2020, 2:16 AM Leonhard Applis <Leonhard.Applis@protonmail.com> wrote:
Hi, 

I'm starting to dip into Parallel Processing with Haskell while reading "Parallel and Concurrent Programming in Haskell". 
All the Examples in the Book construct a program which is doing all the work, so with all files in the same program which has a main method. 

I'd like to have a library which utilized parallel programming (mostly for map-reduce tasks). 



Is this possible? 

My first approach of putting the par-code in my library and running the program threaded does not seem to use multiple cores. 
Also I have not seen any parallel programming in "popular" libraries (such as QuickCheck) which makes me think that I'm on the wrong path. 

To summarize my goal: 
I want to build a computation-intensive library, which utilizes multiple cores when used from an executable. 

Thank you 
Leonhard
_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners