-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Slices of primitive arrays -- -- The vector library provides types for slicing into many types -- of arrays. However, it does not include slices of SmallArray or -- UnliftedArray. This library provides types for working with -- such slices. @package primitive-slice @version 0.1.0.0 module Data.Primitive.Slice data UnliftedVector a UnliftedVector :: !UnliftedArray a -> !Int -> !Int -> UnliftedVector a [$sel:array:UnliftedVector] :: UnliftedVector a -> !UnliftedArray a [$sel:offset:UnliftedVector] :: UnliftedVector a -> !Int [$sel:length:UnliftedVector] :: UnliftedVector a -> !Int data MutableUnliftedVector s a MutableUnliftedVector :: !MutableUnliftedArray s a -> !Int -> !Int -> MutableUnliftedVector s a [$sel:array:MutableUnliftedVector] :: MutableUnliftedVector s a -> !MutableUnliftedArray s a [$sel:offset:MutableUnliftedVector] :: MutableUnliftedVector s a -> !Int [$sel:length:MutableUnliftedVector] :: MutableUnliftedVector s a -> !Int data SmallVector a SmallVector :: !SmallArray a -> !Int -> !Int -> SmallVector a [$sel:array:SmallVector] :: SmallVector a -> !SmallArray a [$sel:offset:SmallVector] :: SmallVector a -> !Int [$sel:length:SmallVector] :: SmallVector a -> !Int data SmallMutableVector s a SmallMutableVector :: !SmallMutableArray s a -> !Int -> !Int -> SmallMutableVector s a [$sel:array:SmallMutableVector] :: SmallMutableVector s a -> !SmallMutableArray s a [$sel:offset:SmallMutableVector] :: SmallMutableVector s a -> !Int [$sel:length:SmallMutableVector] :: SmallMutableVector s a -> !Int unslicedUnliftedVector :: UnliftedArray a -> UnliftedVector a unslicedSmallVector :: SmallArray a -> SmallVector a instance Data.Primitive.Unlifted.Class.PrimUnlifted a => GHC.Exts.IsList (Data.Primitive.Slice.UnliftedVector a)