Modify and export regular folds
[packages/dph.git] / dph-prim-interface / interface / DPH_Header.h
1 #include "fusion-phases.h"
2
3 module Data.Array.Parallel.Unlifted (
4 (:*:)(..), Elt, Array, Segd,
5
6 length,
7 empty, replicate, repeat, (+:+),
8 (!:), extract, drop, permute, mbpermute, bpermute, bpermuteDft, update,
9 pack, combine, combine2ByTag,
10 enumFromTo, enumFromThenTo, enumFromToEach, enumFromStepLen, enumFromStepLenEach,
11 indexed,
12 zip, zip3, unzip, unzip3, fsts, snds,
13 map, zipWith, zipWith3,
14 filter,
15
16 fold, fold1, and, sum, scan,
17
18 replicate_s, replicate_rs, append_s,
19
20 repeat_c,
21
22 fold_s, fold1_s, fold_r, sum_s, indices_s, sum_r,
23 lengthSegd, lengthsSegd, indicesSegd, elementsSegd, lengthsToSegd, mkSegd,
24
25 selectorToIndices2, packByTag, pick, count, count_s,
26
27 randoms, randomRs, IOElt, hGet, hPut,
28
29 toList, fromList,
30 ) where
31
32 import Data.Array.Parallel.Base ( (:*:)(..), fstS, sndS )
33 import Prelude (Num, Int, Bool, Double)
34 import System.IO (IO, Handle)
35 import Data.Word (Word8)
36 import qualified System.Random
37 import qualified Prelude
38