| Safe Haskell | None |
|---|
Data.Yarr.Repr.Boxed
Documentation
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
| (Shape sh, NFData a) => USource B L sh a | |
| (Shape sh, NFData a) => Regular B L sh a | |
| DefaultFusion B D L sh | |
| (Shape sh, NFData a) => Manifest B MB L sh a | |
| Shape sh => DefaultIFusion B L D SH sh | |
| (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) |
Mutable Boxed is a wrapper for MutableArray.
Instances
| (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 | |
| DefaultFusion MB D L sh | |
| (Shape sh, NFData a) => Manifest B MB L sh a | |
| Shape sh => DefaultIFusion MB L D SH sh | |
| (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.