Use vector 0.7 instead of arrays from dph-base
[packages/dph.git] / dph-prim-seq / Data / Array / Parallel / Unlifted / Sequential / Segmented / Text.hs
1 -----------------------------------------------------------------------------
2 -- |
3 -- Module : Data.Array.Parallel.Unlifted.Sequential.Flat.Text
4 -- Copyright : (c) 2006 Roman Leshchinskiy
5 -- License : see libraries/ndp/LICENSE
6 --
7 -- Maintainer : Roman Leshchinskiy <rl@cse.unsw.edu.au>
8 -- Stability : internal
9 -- Portability : portable
10 --
11 -- Description ---------------------------------------------------------------
12 --
13 -- Read\/Show instances for segmented unlifted arrays.
14 --
15 -- Todo ----------------------------------------------------------------------
16 --
17
18 module Data.Array.Parallel.Unlifted.Sequential.Segmented.Text ()
19 where
20
21 import Data.Array.Parallel.Base (
22 Read(..), showsApp, readApp)
23 import Data.Array.Parallel.Unlifted.Sequential.Segmented.USegd (
24 USegd, lengthsUSegd )
25
26 instance Show USegd where
27 showsPrec k = showsApp k "toUSegd" . lengthsUSegd
28
29 -- instance Read USegd where
30 -- readPrec = fmap toUSegd (readApp "toUSegd")
31