[Haskell-cafe] derivation of mapP, a parallel, lazy map

Felipe Lessa felipe.lessa at gmail.com
Mon Feb 25 13:12:38 EST 2008


On Sun, Feb 24, 2008 at 1:45 AM, Dan Zwell <dzwell at gmail.com> wrote:
>  If anybody is curious to see this, the page is
>  http://zwell.net/content/haskell.html#mapP . I would appreciate any
>  criticism, too. I hope somebody finds this helpful.

Have you seen parBuffer? I'd also recommend looking at its source.
http://haskell.org/ghc/docs/latest/html/libraries/parallel/Control-Parallel-Strategies.html#v%3AparBuffer

HTH,

-- 
Felipe.


More information about the Haskell-Cafe mailing list