yarr-0.9.1: Yet another array library

Safe HaskellNone

Data.Yarr.Utils.Fork

Documentation

makeForkEachSlice :: (Shape sh, Arity n, v ~ VecList n) => Int -> sh -> sh -> v (sh -> sh -> IO a) -> Int -> IO (v a)Source

makeForkSlicesOnce :: (Shape sh, Arity n) => Int -> VecList n (sh, sh) -> VecList n (sh -> sh -> IO a) -> Int -> IO [(Int, a)]Source

makeFork :: Shape sh => Int -> sh -> sh -> (sh -> sh -> IO a) -> Int -> IO aSource