Makefiles need real tab chars, ffs.
[packages/dph.git] / dph-lifted-copy / Data / Array / Parallel / Prelude.hs
1 {-# OPTIONS_GHC -fvectorise #-}
2
3 -- | This module (as well as the type-specific modules 'Data.Array.Parallel.Prelude.*') are a
4 -- temporary kludge needed as DPH programs cannot directly use the (non-vectorised) functions from
5 -- the standard Prelude. It also exports some conversion helpers.
6 --
7 -- /This module should not be explicitly imported in user code anymore./ User code should only
8 -- import 'Data.Array.Parallel' and, until the vectoriser supports type classes, the type-specific
9 -- modules 'Data.Array.Parallel.Prelude.*'.
10
11 module Data.Array.Parallel.Prelude (
12 module Data.Array.Parallel.Prelude.Bool,
13 module Data.Array.Parallel.Prelude.Tuple,
14
15 PArray, Scalar(..),
16 toUArrPA,
17 fromUArrPA', fromUArrPA_2', fromUArrPA_3, fromUArrPA_3',
18 nestUSegdPA'
19 ) where
20
21 import Data.Array.Parallel.Prelude.Bool
22 import Data.Array.Parallel.Prelude.Tuple
23 import Data.Array.Parallel.Lifted.PArray
24 import Data.Array.Parallel.Lifted.Scalar
25
26
27 {-# VECTORISE type () = () #-}