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