yarr-1.2.3: Yet another array library

Safe HaskellNone

Data.Yarr.Repr.Boxed

Synopsis

Documentation

data B Source

Boxed representation is a wrapper for Array from primitive package. It may be used to operate with arrays of variable-lengths or multiconstructor ADTs, for example, lists.

For Storable element types you would better use Foreign arrays.

TODO: test this representation at least one time...

Instances

DefaultFusion B D L 
(Shape sh, NFData a) => USource B L sh a 
(Shape sh, NFData a) => Regular B L sh a 
(Shape sh, NFData a) => Manifest B MB L sh a 
(Shape sh, Vector v e, NFData e) => UVecSource (SE B) B L sh v e 
(Shape sh, NFData a) => NFData (UArray B L sh a) 

data MB Source

Mutable Boxed is a wrapper for MutableArray.

Instances

DefaultFusion MB D L 
(Shape sh, NFData a) => UTarget MB L sh a 
(Shape sh, NFData a) => USource MB L sh a 
(Shape sh, NFData a) => Regular MB L sh a 
(Shape sh, NFData a) => Manifest B MB L sh a 
(Shape sh, Vector v e, NFData e) => UVecSource (SE MB) MB L sh v e 
(Shape sh, NFData a) => NFData (UArray MB L sh a) 

There are also Boxed and MutableBoxed UArray family constructors, which aren't presented in the docs because Haddock doesn't support associated family constructors.

See source of Data.Yarr.Repr.Boxed module.