repa- High performance, regular, shape polymorphic parallel arrays.

Safe HaskellSafe-Infered




data X Source

An array with undefined elements.

  • This is normally used as the last representation in a partitioned array, as the previous partitions are expected to provide full coverage.


Repr X e

Undefined array elements. Inspecting them yields error.

(Shape sh, Fillable r2 e, Num e) => Fill X r2 sh e 
Combine X a X b 
Read sh => Read (Array X sh e) 
Show sh => Show (Array X sh e) 

data family Array r sh e Source

Arrays with a representation tag, shape, and element type. Use one of the type tags like D, U and so on for r, one of DIM1, DIM2 ... for sh.