License | BSD-style |
---|---|
Maintainer | Vincent Hanquez <vincent@snarc.org> |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
Give access to Array non public functions which can be used to make certains optimisations.
Most of what is available here has no guarantees of stability. Anything can be removed and changed.
Documentation
An array of type built on top of GHC primitive.
The elements need to have fixed sized and the representation is a packed contiguous array in memory that can easily be passed to foreign interface
UVecBA !(Offset ty) !(Size ty) !PinnedStatus ByteArray# | |
UVecAddr !(Offset ty) !(Size ty) !(FinalPtr ty) |
PrimType ty => IsList (UArray ty) Source # | |
(PrimType ty, Eq ty) => Eq (UArray ty) Source # | |
Data ty => Data (UArray ty) Source # | |
(PrimType ty, Ord ty) => Ord (UArray ty) Source # | |
(PrimType ty, Show ty) => Show (UArray ty) Source # | |
PrimType ty => Monoid (UArray ty) Source # | |
PrimType ty => Copy (UArray ty) Source # | |
PrimType ty => Buildable (UArray ty) Source # | |
PrimType ty => Collection (UArray ty) Source # | |
PrimType ty => Foldable (UArray ty) Source # | |
PrimType ty => IndexedCollection (UArray ty) Source # | |
PrimType ty => InnerFunctor (UArray ty) Source # | |
PrimType ty => Sequential (UArray ty) Source # | |
PrimType ty => Zippable (UArray ty) Source # | |
PrimType a => Hashable (UArray a) Source # | |
type Item (UArray ty) Source # | |
type Element (UArray ty) Source # | |
type Mutable (UArray ty) Source # | |
type Step (UArray ty) Source # | |
fromForeignPtr :: PrimType ty => (ForeignPtr ty, Int, Int) -> UArray ty Source #