fixed-vector-1.2.0.0: Generic vectors with statically known size.

Safe Haskell None Haskell98

Data.Vector.Fixed.Primitive

Contents

Description

Unboxed vectors with fixed length. Vectors from Data.Vector.Fixed.Unboxed provide more flexibility at no performeance cost.

Synopsis

# Immutable

data Vec (n :: Nat) a Source #

Unboxed vector with fixed length

Instances
 (Arity n, Prim a) => VectorN Vec n a Source # Instance detailsDefined in Data.Vector.Fixed.Primitive (Arity n, Prim a) => Vector (Vec n) a Source # Instance detailsDefined in Data.Vector.Fixed.Primitive Methodsconstruct :: Fun (Peano (Dim (Vec n))) a (Vec n a) Source #inspect :: Vec n a -> Fun (Peano (Dim (Vec n))) a b -> b Source #basicIndex :: Vec n a -> Int -> a Source # (Arity n, Prim a) => IVector (Vec n) a Source # Instance detailsDefined in Data.Vector.Fixed.Primitive MethodsunsafeFreeze :: PrimMonad m => Mutable (Vec n) (PrimState m) a -> m (Vec n a) Source #unsafeThaw :: PrimMonad m => Vec n a -> m (Mutable (Vec n) (PrimState m) a) Source #unsafeIndex :: Vec n a -> Int -> a Source # (Arity n, Prim a, Eq a) => Eq (Vec n a) Source # Instance detailsDefined in Data.Vector.Fixed.Primitive Methods(==) :: Vec n a -> Vec n a -> Bool #(/=) :: Vec n a -> Vec n a -> Bool # (Typeable n, Arity n, Prim a, Data a) => Data (Vec n a) Source # Instance detailsDefined in Data.Vector.Fixed.Primitive Methodsgfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Vec n a -> c (Vec n a) #gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (Vec n a) #toConstr :: Vec n a -> Constr #dataTypeOf :: Vec n a -> DataType #dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c (Vec n a)) #dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c (Vec n a)) #gmapT :: (forall b. Data b => b -> b) -> Vec n a -> Vec n a #gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Vec n a -> r #gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Vec n a -> r #gmapQ :: (forall d. Data d => d -> u) -> Vec n a -> [u] #gmapQi :: Int -> (forall d. Data d => d -> u) -> Vec n a -> u #gmapM :: Monad m => (forall d. Data d => d -> m d) -> Vec n a -> m (Vec n a) #gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Vec n a -> m (Vec n a) #gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Vec n a -> m (Vec n a) # (Arity n, Prim a, Ord a) => Ord (Vec n a) Source # Instance detailsDefined in Data.Vector.Fixed.Primitive Methodscompare :: Vec n a -> Vec n a -> Ordering #(<) :: Vec n a -> Vec n a -> Bool #(<=) :: Vec n a -> Vec n a -> Bool #(>) :: Vec n a -> Vec n a -> Bool #(>=) :: Vec n a -> Vec n a -> Bool #max :: Vec n a -> Vec n a -> Vec n a #min :: Vec n a -> Vec n a -> Vec n a # (Arity n, Prim a, Show a) => Show (Vec n a) Source # Instance detailsDefined in Data.Vector.Fixed.Primitive MethodsshowsPrec :: Int -> Vec n a -> ShowS #show :: Vec n a -> String #showList :: [Vec n a] -> ShowS # (Arity n, Prim a, Semigroup a) => Semigroup (Vec n a) Source # Instance detailsDefined in Data.Vector.Fixed.Primitive Methods(<>) :: Vec n a -> Vec n a -> Vec n a #sconcat :: NonEmpty (Vec n a) -> Vec n a #stimes :: Integral b => b -> Vec n a -> Vec n a # (Arity n, Prim a, Monoid a) => Monoid (Vec n a) Source # Instance detailsDefined in Data.Vector.Fixed.Primitive Methodsmempty :: Vec n a #mappend :: Vec n a -> Vec n a -> Vec n a #mconcat :: [Vec n a] -> Vec n a # (Storable a, Prim a, Arity n) => Storable (Vec n a) Source # Instance detailsDefined in Data.Vector.Fixed.Primitive MethodssizeOf :: Vec n a -> Int #alignment :: Vec n a -> Int #peekElemOff :: Ptr (Vec n a) -> Int -> IO (Vec n a) #pokeElemOff :: Ptr (Vec n a) -> Int -> Vec n a -> IO () #peekByteOff :: Ptr b -> Int -> IO (Vec n a) #pokeByteOff :: Ptr b -> Int -> Vec n a -> IO () #peek :: Ptr (Vec n a) -> IO (Vec n a) #poke :: Ptr (Vec n a) -> Vec n a -> IO () # (Arity n, Prim a, NFData a) => NFData (Vec n a) Source # Instance detailsDefined in Data.Vector.Fixed.Primitive Methodsrnf :: Vec n a -> () # type Dim (Vec n) Source # Instance detailsDefined in Data.Vector.Fixed.Primitive type Dim (Vec n) = n type Mutable (Vec n) Source # Instance detailsDefined in Data.Vector.Fixed.Primitive type Mutable (Vec n) = MVec n

type Vec1 = Vec 1 Source #

type Vec2 = Vec 2 Source #

type Vec3 = Vec 3 Source #

type Vec4 = Vec 4 Source #

type Vec5 = Vec 5 Source #

# Mutable

data MVec (n :: Nat) s a Source #

Mutable unboxed vector with fixed length

Instances
 (Arity n, Prim a) => MVector (MVec n) a Source # Instance detailsDefined in Data.Vector.Fixed.Primitive Methodscopy :: PrimMonad m => MVec n (PrimState m) a -> MVec n (PrimState m) a -> m () Source #move :: PrimMonad m => MVec n (PrimState m) a -> MVec n (PrimState m) a -> m () Source #new :: PrimMonad m => m (MVec n (PrimState m) a) Source #unsafeRead :: PrimMonad m => MVec n (PrimState m) a -> Int -> m a Source #unsafeWrite :: PrimMonad m => MVec n (PrimState m) a -> Int -> a -> m () Source # type DimM (MVec n) Source # Instance detailsDefined in Data.Vector.Fixed.Primitive type DimM (MVec n) = n

# Type classes

class Prim a #

Class of types supporting primitive array operations

Minimal complete definition

Instances
 Instance detailsDefined in Data.Primitive.Types MethodssizeOf# :: Char -> Int# #readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (#State# s, Char#) #writeByteArray# :: MutableByteArray# s -> Int# -> Char -> State# s -> State# s #setByteArray# :: MutableByteArray# s -> Int# -> Int# -> Char -> State# s -> State# s #readOffAddr# :: Addr# -> Int# -> State# s -> (#State# s, Char#) #writeOffAddr# :: Addr# -> Int# -> Char -> State# s -> State# s #setOffAddr# :: Addr# -> Int# -> Int# -> Char -> State# s -> State# s # Instance detailsDefined in Data.Primitive.Types MethodsreadByteArray# :: MutableByteArray# s -> Int# -> State# s -> (#State# s, Double#) #writeByteArray# :: MutableByteArray# s -> Int# -> Double -> State# s -> State# s #setByteArray# :: MutableByteArray# s -> Int# -> Int# -> Double -> State# s -> State# s #readOffAddr# :: Addr# -> Int# -> State# s -> (#State# s, Double#) #writeOffAddr# :: Addr# -> Int# -> Double -> State# s -> State# s #setOffAddr# :: Addr# -> Int# -> Int# -> Double -> State# s -> State# s # Instance detailsDefined in Data.Primitive.Types MethodsreadByteArray# :: MutableByteArray# s -> Int# -> State# s -> (#State# s, Float#) #writeByteArray# :: MutableByteArray# s -> Int# -> Float -> State# s -> State# s #setByteArray# :: MutableByteArray# s -> Int# -> Int# -> Float -> State# s -> State# s #readOffAddr# :: Addr# -> Int# -> State# s -> (#State# s, Float#) #writeOffAddr# :: Addr# -> Int# -> Float -> State# s -> State# s #setOffAddr# :: Addr# -> Int# -> Int# -> Float -> State# s -> State# s # Instance detailsDefined in Data.Primitive.Types MethodssizeOf# :: Int -> Int# #readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (#State# s, Int#) #writeByteArray# :: MutableByteArray# s -> Int# -> Int -> State# s -> State# s #setByteArray# :: MutableByteArray# s -> Int# -> Int# -> Int -> State# s -> State# s #readOffAddr# :: Addr# -> Int# -> State# s -> (#State# s, Int#) #writeOffAddr# :: Addr# -> Int# -> Int -> State# s -> State# s #setOffAddr# :: Addr# -> Int# -> Int# -> Int -> State# s -> State# s # Instance detailsDefined in Data.Primitive.Types MethodssizeOf# :: Int8 -> Int# #readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (#State# s, Int8#) #writeByteArray# :: MutableByteArray# s -> Int# -> Int8 -> State# s -> State# s #setByteArray# :: MutableByteArray# s -> Int# -> Int# -> Int8 -> State# s -> State# s #readOffAddr# :: Addr# -> Int# -> State# s -> (#State# s, Int8#) #writeOffAddr# :: Addr# -> Int# -> Int8 -> State# s -> State# s #setOffAddr# :: Addr# -> Int# -> Int# -> Int8 -> State# s -> State# s # Instance detailsDefined in Data.Primitive.Types MethodsreadByteArray# :: MutableByteArray# s -> Int# -> State# s -> (#State# s, Int16#) #writeByteArray# :: MutableByteArray# s -> Int# -> Int16 -> State# s -> State# s #setByteArray# :: MutableByteArray# s -> Int# -> Int# -> Int16 -> State# s -> State# s #readOffAddr# :: Addr# -> Int# -> State# s -> (#State# s, Int16#) #writeOffAddr# :: Addr# -> Int# -> Int16 -> State# s -> State# s #setOffAddr# :: Addr# -> Int# -> Int# -> Int16 -> State# s -> State# s # Instance detailsDefined in Data.Primitive.Types MethodsreadByteArray# :: MutableByteArray# s -> Int# -> State# s -> (#State# s, Int32#) #writeByteArray# :: MutableByteArray# s -> Int# -> Int32 -> State# s -> State# s #setByteArray# :: MutableByteArray# s -> Int# -> Int# -> Int32 -> State# s -> State# s #readOffAddr# :: Addr# -> Int# -> State# s -> (#State# s, Int32#) #writeOffAddr# :: Addr# -> Int# -> Int32 -> State# s -> State# s #setOffAddr# :: Addr# -> Int# -> Int# -> Int32 -> State# s -> State# s # Instance detailsDefined in Data.Primitive.Types MethodsreadByteArray# :: MutableByteArray# s -> Int# -> State# s -> (#State# s, Int64#) #writeByteArray# :: MutableByteArray# s -> Int# -> Int64 -> State# s -> State# s #setByteArray# :: MutableByteArray# s -> Int# -> Int# -> Int64 -> State# s -> State# s #readOffAddr# :: Addr# -> Int# -> State# s -> (#State# s, Int64#) #writeOffAddr# :: Addr# -> Int# -> Int64 -> State# s -> State# s #setOffAddr# :: Addr# -> Int# -> Int# -> Int64 -> State# s -> State# s # Instance detailsDefined in Data.Primitive.Types MethodssizeOf# :: Word -> Int# #readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (#State# s, Word#) #writeByteArray# :: MutableByteArray# s -> Int# -> Word -> State# s -> State# s #setByteArray# :: MutableByteArray# s -> Int# -> Int# -> Word -> State# s -> State# s #readOffAddr# :: Addr# -> Int# -> State# s -> (#State# s, Word#) #writeOffAddr# :: Addr# -> Int# -> Word -> State# s -> State# s #setOffAddr# :: Addr# -> Int# -> Int# -> Word -> State# s -> State# s # Instance detailsDefined in Data.Primitive.Types MethodsreadByteArray# :: MutableByteArray# s -> Int# -> State# s -> (#State# s, Word8#) #writeByteArray# :: MutableByteArray# s -> Int# -> Word8 -> State# s -> State# s #setByteArray# :: MutableByteArray# s -> Int# -> Int# -> Word8 -> State# s -> State# s #readOffAddr# :: Addr# -> Int# -> State# s -> (#State# s, Word8#) #writeOffAddr# :: Addr# -> Int# -> Word8 -> State# s -> State# s #setOffAddr# :: Addr# -> Int# -> Int# -> Word8 -> State# s -> State# s # Instance detailsDefined in Data.Primitive.Types MethodsreadByteArray# :: MutableByteArray# s -> Int# -> State# s -> (#State# s, Word16#) #writeByteArray# :: MutableByteArray# s -> Int# -> Word16 -> State# s -> State# s #setByteArray# :: MutableByteArray# s -> Int# -> Int# -> Word16 -> State# s -> State# s #readOffAddr# :: Addr# -> Int# -> State# s -> (#State# s, Word16#) #writeOffAddr# :: Addr# -> Int# -> Word16 -> State# s -> State# s #setOffAddr# :: Addr# -> Int# -> Int# -> Word16 -> State# s -> State# s # Instance detailsDefined in Data.Primitive.Types MethodsreadByteArray# :: MutableByteArray# s -> Int# -> State# s -> (#State# s, Word32#) #writeByteArray# :: MutableByteArray# s -> Int# -> Word32 -> State# s -> State# s #setByteArray# :: MutableByteArray# s -> Int# -> Int# -> Word32 -> State# s -> State# s #readOffAddr# :: Addr# -> Int# -> State# s -> (#State# s, Word32#) #writeOffAddr# :: Addr# -> Int# -> Word32 -> State# s -> State# s #setOffAddr# :: Addr# -> Int# -> Int# -> Word32 -> State# s -> State# s # Instance detailsDefined in Data.Primitive.Types MethodsreadByteArray# :: MutableByteArray# s -> Int# -> State# s -> (#State# s, Word64#) #writeByteArray# :: MutableByteArray# s -> Int# -> Word64 -> State# s -> State# s #setByteArray# :: MutableByteArray# s -> Int# -> Int# -> Word64 -> State# s -> State# s #readOffAddr# :: Addr# -> Int# -> State# s -> (#State# s, Word64#) #writeOffAddr# :: Addr# -> Int# -> Word64 -> State# s -> State# s #setOffAddr# :: Addr# -> Int# -> Int# -> Word64 -> State# s -> State# s # Instance detailsDefined in Data.Primitive.Types MethodssizeOf# :: CDev -> Int# #readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (#State# s, CDev#) #writeByteArray# :: MutableByteArray# s -> Int# -> CDev -> State# s -> State# s #setByteArray# :: MutableByteArray# s -> Int# -> Int# -> CDev -> State# s -> State# s #readOffAddr# :: Addr# -> Int# -> State# s -> (#State# s, CDev#) #writeOffAddr# :: Addr# -> Int# -> CDev -> State# s -> State# s #setOffAddr# :: Addr# -> Int# -> Int# -> CDev -> State# s -> State# s # Instance detailsDefined in Data.Primitive.Types MethodssizeOf# :: CIno -> Int# #readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (#State# s, CIno#) #writeByteArray# :: MutableByteArray# s -> Int# -> CIno -> State# s -> State# s #setByteArray# :: MutableByteArray# s -> Int# -> Int# -> CIno -> State# s -> State# s #readOffAddr# :: Addr# -> Int# -> State# s -> (#State# s, CIno#) #writeOffAddr# :: Addr# -> Int# -> CIno -> State# s -> State# s #setOffAddr# :: Addr# -> Int# -> Int# -> CIno -> State# s -> State# s # Instance detailsDefined in Data.Primitive.Types MethodsreadByteArray# :: MutableByteArray# s -> Int# -> State# s -> (#State# s, CMode#) #writeByteArray# :: MutableByteArray# s -> Int# -> CMode -> State# s -> State# s #setByteArray# :: MutableByteArray# s -> Int# -> Int# -> CMode -> State# s -> State# s #readOffAddr# :: Addr# -> Int# -> State# s -> (#State# s, CMode#) #writeOffAddr# :: Addr# -> Int# -> CMode -> State# s -> State# s #setOffAddr# :: Addr# -> Int# -> Int# -> CMode -> State# s -> State# s # Instance detailsDefined in Data.Primitive.Types MethodssizeOf# :: COff -> Int# #readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (#State# s, COff#) #writeByteArray# :: MutableByteArray# s -> Int# -> COff -> State# s -> State# s #setByteArray# :: MutableByteArray# s -> Int# -> Int# -> COff -> State# s -> State# s #readOffAddr# :: Addr# -> Int# -> State# s -> (#State# s, COff#) #writeOffAddr# :: Addr# -> Int# -> COff -> State# s -> State# s #setOffAddr# :: Addr# -> Int# -> Int# -> COff -> State# s -> State# s # Instance detailsDefined in Data.Primitive.Types MethodssizeOf# :: CPid -> Int# #readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (#State# s, CPid#) #writeByteArray# :: MutableByteArray# s -> Int# -> CPid -> State# s -> State# s #setByteArray# :: MutableByteArray# s -> Int# -> Int# -> CPid -> State# s -> State# s #readOffAddr# :: Addr# -> Int# -> State# s -> (#State# s, CPid#) #writeOffAddr# :: Addr# -> Int# -> CPid -> State# s -> State# s #setOffAddr# :: Addr# -> Int# -> Int# -> CPid -> State# s -> State# s # Instance detailsDefined in Data.Primitive.Types MethodsreadByteArray# :: MutableByteArray# s -> Int# -> State# s -> (#State# s, CSsize#) #writeByteArray# :: MutableByteArray# s -> Int# -> CSsize -> State# s -> State# s #setByteArray# :: MutableByteArray# s -> Int# -> Int# -> CSsize -> State# s -> State# s #readOffAddr# :: Addr# -> Int# -> State# s -> (#State# s, CSsize#) #writeOffAddr# :: Addr# -> Int# -> CSsize -> State# s -> State# s #setOffAddr# :: Addr# -> Int# -> Int# -> CSsize -> State# s -> State# s # Instance detailsDefined in Data.Primitive.Types MethodssizeOf# :: CGid -> Int# #readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (#State# s, CGid#) #writeByteArray# :: MutableByteArray# s -> Int# -> CGid -> State# s -> State# s #setByteArray# :: MutableByteArray# s -> Int# -> Int# -> CGid -> State# s -> State# s #readOffAddr# :: Addr# -> Int# -> State# s -> (#State# s, CGid#) #writeOffAddr# :: Addr# -> Int# -> CGid -> State# s -> State# s #setOffAddr# :: Addr# -> Int# -> Int# -> CGid -> State# s -> State# s # Instance detailsDefined in Data.Primitive.Types MethodsreadByteArray# :: MutableByteArray# s -> Int# -> State# s -> (#State# s, CNlink#) #writeByteArray# :: MutableByteArray# s -> Int# -> CNlink -> State# s -> State# s #setByteArray# :: MutableByteArray# s -> Int# -> Int# -> CNlink -> State# s -> State# s #readOffAddr# :: Addr# -> Int# -> State# s -> (#State# s, CNlink#) #writeOffAddr# :: Addr# -> Int# -> CNlink -> State# s -> State# s #setOffAddr# :: Addr# -> Int# -> Int# -> CNlink -> State# s -> State# s # Instance detailsDefined in Data.Primitive.Types MethodssizeOf# :: CUid -> Int# #readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (#State# s, CUid#) #writeByteArray# :: MutableByteArray# s -> Int# -> CUid -> State# s -> State# s #setByteArray# :: MutableByteArray# s -> Int# -> Int# -> CUid -> State# s -> State# s #readOffAddr# :: Addr# -> Int# -> State# s -> (#State# s, CUid#) #writeOffAddr# :: Addr# -> Int# -> CUid -> State# s -> State# s #setOffAddr# :: Addr# -> Int# -> Int# -> CUid -> State# s -> State# s # Instance detailsDefined in Data.Primitive.Types MethodssizeOf# :: CCc -> Int# #readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (#State# s, CCc#) #writeByteArray# :: MutableByteArray# s -> Int# -> CCc -> State# s -> State# s #setByteArray# :: MutableByteArray# s -> Int# -> Int# -> CCc -> State# s -> State# s #readOffAddr# :: Addr# -> Int# -> State# s -> (#State# s, CCc#) #writeOffAddr# :: Addr# -> Int# -> CCc -> State# s -> State# s #setOffAddr# :: Addr# -> Int# -> Int# -> CCc -> State# s -> State# s # Instance detailsDefined in Data.Primitive.Types MethodsreadByteArray# :: MutableByteArray# s -> Int# -> State# s -> (#State# s, CSpeed#) #writeByteArray# :: MutableByteArray# s -> Int# -> CSpeed -> State# s -> State# s #setByteArray# :: MutableByteArray# s -> Int# -> Int# -> CSpeed -> State# s -> State# s #readOffAddr# :: Addr# -> Int# -> State# s -> (#State# s, CSpeed#) #writeOffAddr# :: Addr# -> Int# -> CSpeed -> State# s -> State# s #setOffAddr# :: Addr# -> Int# -> Int# -> CSpeed -> State# s -> State# s # Instance detailsDefined in Data.Primitive.Types MethodsreadByteArray# :: MutableByteArray# s -> Int# -> State# s -> (#State# s, CTcflag#) #writeByteArray# :: MutableByteArray# s -> Int# -> CTcflag -> State# s -> State# s #setByteArray# :: MutableByteArray# s -> Int# -> Int# -> CTcflag -> State# s -> State# s #readOffAddr# :: Addr# -> Int# -> State# s -> (#State# s, CTcflag#) #writeOffAddr# :: Addr# -> Int# -> CTcflag -> State# s -> State# s #setOffAddr# :: Addr# -> Int# -> Int# -> CTcflag -> State# s -> State# s # Instance detailsDefined in Data.Primitive.Types MethodsreadByteArray# :: MutableByteArray# s -> Int# -> State# s -> (#State# s, CRLim#) #writeByteArray# :: MutableByteArray# s -> Int# -> CRLim -> State# s -> State# s #setByteArray# :: MutableByteArray# s -> Int# -> Int# -> CRLim -> State# s -> State# s #readOffAddr# :: Addr# -> Int# -> State# s -> (#State# s, CRLim#) #writeOffAddr# :: Addr# -> Int# -> CRLim -> State# s -> State# s #setOffAddr# :: Addr# -> Int# -> Int# -> CRLim -> State# s -> State# s # Instance detailsDefined in Data.Primitive.Types MethodsreadByteArray# :: MutableByteArray# s -> Int# -> State# s -> (#State# s, CBlkSize#) #writeByteArray# :: MutableByteArray# s -> Int# -> CBlkSize -> State# s -> State# s #setByteArray# :: MutableByteArray# s -> Int# -> Int# -> CBlkSize -> State# s -> State# s #readOffAddr# :: Addr# -> Int# -> State# s -> (#State# s, CBlkSize#) #writeOffAddr# :: Addr# -> Int# -> CBlkSize -> State# s -> State# s #setOffAddr# :: Addr# -> Int# -> Int# -> CBlkSize -> State# s -> State# s # Instance detailsDefined in Data.Primitive.Types MethodsreadByteArray# :: MutableByteArray# s -> Int# -> State# s -> (#State# s, CBlkCnt#) #writeByteArray# :: MutableByteArray# s -> Int# -> CBlkCnt -> State# s -> State# s #setByteArray# :: MutableByteArray# s -> Int# -> Int# -> CBlkCnt -> State# s -> State# s #readOffAddr# :: Addr# -> Int# -> State# s -> (#State# s, CBlkCnt#) #writeOffAddr# :: Addr# -> Int# -> CBlkCnt -> State# s -> State# s #setOffAddr# :: Addr# -> Int# -> Int# -> CBlkCnt -> State# s -> State# s # Instance detailsDefined in Data.Primitive.Types MethodsreadByteArray# :: MutableByteArray# s -> Int# -> State# s -> (#State# s, CClockId#) #writeByteArray# :: MutableByteArray# s -> Int# -> CClockId -> State# s -> State# s #setByteArray# :: MutableByteArray# s -> Int# -> Int# -> CClockId -> State# s -> State# s #readOffAddr# :: Addr# -> Int# -> State# s -> (#State# s, CClockId#) #writeOffAddr# :: Addr# -> Int# -> CClockId -> State# s -> State# s #setOffAddr# :: Addr# -> Int# -> Int# -> CClockId -> State# s -> State# s # Instance detailsDefined in Data.Primitive.Types MethodsreadByteArray# :: MutableByteArray# s -> Int# -> State# s -> (#State# s, CFsBlkCnt#) #writeByteArray# :: MutableByteArray# s -> Int# -> CFsBlkCnt -> State# s -> State# s #setByteArray# :: MutableByteArray# s -> Int# -> Int# -> CFsBlkCnt -> State# s -> State# s #readOffAddr# :: Addr# -> Int# -> State# s -> (#State# s, CFsBlkCnt#) #writeOffAddr# :: Addr# -> Int# -> CFsBlkCnt -> State# s -> State# s #setOffAddr# :: Addr# -> Int# -> Int# -> CFsBlkCnt -> State# s -> State# s # Instance detailsDefined in Data.Primitive.Types MethodsreadByteArray# :: MutableByteArray# s -> Int# -> State# s -> (#State# s, CFsFilCnt#) #writeByteArray# :: MutableByteArray# s -> Int# -> CFsFilCnt -> State# s -> State# s #setByteArray# :: MutableByteArray# s -> Int# -> Int# -> CFsFilCnt -> State# s -> State# s #readOffAddr# :: Addr# -> Int# -> State# s -> (#State# s, CFsFilCnt#) #writeOffAddr# :: Addr# -> Int# -> CFsFilCnt -> State# s -> State# s #setOffAddr# :: Addr# -> Int# -> Int# -> CFsFilCnt -> State# s -> State# s # Instance detailsDefined in Data.Primitive.Types MethodssizeOf# :: CId -> Int# #readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (#State# s, CId#) #writeByteArray# :: MutableByteArray# s -> Int# -> CId -> State# s -> State# s #setByteArray# :: MutableByteArray# s -> Int# -> Int# -> CId -> State# s -> State# s #readOffAddr# :: Addr# -> Int# -> State# s -> (#State# s, CId#) #writeOffAddr# :: Addr# -> Int# -> CId -> State# s -> State# s #setOffAddr# :: Addr# -> Int# -> Int# -> CId -> State# s -> State# s # Instance detailsDefined in Data.Primitive.Types MethodssizeOf# :: CKey -> Int# #readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (#State# s, CKey#) #writeByteArray# :: MutableByteArray# s -> Int# -> CKey -> State# s -> State# s #setByteArray# :: MutableByteArray# s -> Int# -> Int# -> CKey -> State# s -> State# s #readOffAddr# :: Addr# -> Int# -> State# s -> (#State# s, CKey#) #writeOffAddr# :: Addr# -> Int# -> CKey -> State# s -> State# s #setOffAddr# :: Addr# -> Int# -> Int# -> CKey -> State# s -> State# s # Instance detailsDefined in Data.Primitive.Types MethodsreadByteArray# :: MutableByteArray# s -> Int# -> State# s -> (#State# s, CTimer#) #writeByteArray# :: MutableByteArray# s -> Int# -> CTimer -> State# s -> State# s #setByteArray# :: MutableByteArray# s -> Int# -> Int# -> CTimer -> State# s -> State# s #readOffAddr# :: Addr# -> Int# -> State# s -> (#State# s, CTimer#) #writeOffAddr# :: Addr# -> Int# -> CTimer -> State# s -> State# s #setOffAddr# :: Addr# -> Int# -> Int# -> CTimer -> State# s -> State# s # Instance detailsDefined in Data.Primitive.Types MethodssizeOf# :: Fd -> Int# #readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (#State# s, Fd#) #writeByteArray# :: MutableByteArray# s -> Int# -> Fd -> State# s -> State# s #setByteArray# :: MutableByteArray# s -> Int# -> Int# -> Fd -> State# s -> State# s #readOffAddr# :: Addr# -> Int# -> State# s -> (#State# s, Fd#) #writeOffAddr# :: Addr# -> Int# -> Fd -> State# s -> State# s #setOffAddr# :: Addr# -> Int# -> Int# -> Fd -> State# s -> State# s # Instance detailsDefined in Data.Primitive.Types MethodsreadByteArray# :: MutableByteArray# s -> Int# -> State# s -> (#State# s, CChar#) #writeByteArray# :: MutableByteArray# s -> Int# -> CChar -> State# s -> State# s #setByteArray# :: MutableByteArray# s -> Int# -> Int# -> CChar -> State# s -> State# s #readOffAddr# :: Addr# -> Int# -> State# s -> (#State# s, CChar#) #writeOffAddr# :: Addr# -> Int# -> CChar -> State# s -> State# s #setOffAddr# :: Addr# -> Int# -> Int# -> CChar -> State# s -> State# s # Instance detailsDefined in Data.Primitive.Types MethodsreadByteArray# :: MutableByteArray# s -> Int# -> State# s -> (#State# s, CSChar#) #writeByteArray# :: MutableByteArray# s -> Int# -> CSChar -> State# s -> State# s #setByteArray# :: MutableByteArray# s -> Int# -> Int# -> CSChar -> State# s -> State# s #readOffAddr# :: Addr# -> Int# -> State# s -> (#State# s, CSChar#) #writeOffAddr# :: Addr# -> Int# -> CSChar -> State# s -> State# s #setOffAddr# :: Addr# -> Int# -> Int# -> CSChar -> State# s -> State# s # Instance detailsDefined in Data.Primitive.Types MethodsreadByteArray# :: MutableByteArray# s -> Int# -> State# s -> (#State# s, CUChar#) #writeByteArray# :: MutableByteArray# s -> Int# -> CUChar -> State# s -> State# s #setByteArray# :: MutableByteArray# s -> Int# -> Int# -> CUChar -> State# s -> State# s #readOffAddr# :: Addr# -> Int# -> State# s -> (#State# s, CUChar#) #writeOffAddr# :: Addr# -> Int# -> CUChar -> State# s -> State# s #setOffAddr# :: Addr# -> Int# -> Int# -> CUChar -> State# s -> State# s # Instance detailsDefined in Data.Primitive.Types MethodsreadByteArray# :: MutableByteArray# s -> Int# -> State# s -> (#State# s, CShort#) #writeByteArray# :: MutableByteArray# s -> Int# -> CShort -> State# s -> State# s #setByteArray# :: MutableByteArray# s -> Int# -> Int# -> CShort -> State# s -> State# s #readOffAddr# :: Addr# -> Int# -> State# s -> (#State# s, CShort#) #writeOffAddr# :: Addr# -> Int# -> CShort -> State# s -> State# s #setOffAddr# :: Addr# -> Int# -> Int# -> CShort -> State# s -> State# s # Instance detailsDefined in Data.Primitive.Types MethodsreadByteArray# :: MutableByteArray# s -> Int# -> State# s -> (#State# s, CUShort#) #writeByteArray# :: MutableByteArray# s -> Int# -> CUShort -> State# s -> State# s #setByteArray# :: MutableByteArray# s -> Int# -> Int# -> CUShort -> State# s -> State# s #readOffAddr# :: Addr# -> Int# -> State# s -> (#State# s, CUShort#) #writeOffAddr# :: Addr# -> Int# -> CUShort -> State# s -> State# s #setOffAddr# :: Addr# -> Int# -> Int# -> CUShort -> State# s -> State# s # Instance detailsDefined in Data.Primitive.Types MethodssizeOf# :: CInt -> Int# #readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (#State# s, CInt#) #writeByteArray# :: MutableByteArray# s -> Int# -> CInt -> State# s -> State# s #setByteArray# :: MutableByteArray# s -> Int# -> Int# -> CInt -> State# s -> State# s #readOffAddr# :: Addr# -> Int# -> State# s -> (#State# s, CInt#) #writeOffAddr# :: Addr# -> Int# -> CInt -> State# s -> State# s #setOffAddr# :: Addr# -> Int# -> Int# -> CInt -> State# s -> State# s # Instance detailsDefined in Data.Primitive.Types MethodsreadByteArray# :: MutableByteArray# s -> Int# -> State# s -> (#State# s, CUInt#) #writeByteArray# :: MutableByteArray# s -> Int# -> CUInt -> State# s -> State# s #setByteArray# :: MutableByteArray# s -> Int# -> Int# -> CUInt -> State# s -> State# s #readOffAddr# :: Addr# -> Int# -> State# s -> (#State# s, CUInt#) #writeOffAddr# :: Addr# -> Int# -> CUInt -> State# s -> State# s #setOffAddr# :: Addr# -> Int# -> Int# -> CUInt -> State# s -> State# s # Instance detailsDefined in Data.Primitive.Types MethodsreadByteArray# :: MutableByteArray# s -> Int# -> State# s -> (#State# s, CLong#) #writeByteArray# :: MutableByteArray# s -> Int# -> CLong -> State# s -> State# s #setByteArray# :: MutableByteArray# s -> Int# -> Int# -> CLong -> State# s -> State# s #readOffAddr# :: Addr# -> Int# -> State# s -> (#State# s, CLong#) #writeOffAddr# :: Addr# -> Int# -> CLong -> State# s -> State# s #setOffAddr# :: Addr# -> Int# -> Int# -> CLong -> State# s -> State# s # Instance detailsDefined in Data.Primitive.Types MethodsreadByteArray# :: MutableByteArray# s -> Int# -> State# s -> (#State# s, CULong#) #writeByteArray# :: MutableByteArray# s -> Int# -> CULong -> State# s -> State# s #setByteArray# :: MutableByteArray# s -> Int# -> Int# -> CULong -> State# s -> State# s #readOffAddr# :: Addr# -> Int# -> State# s -> (#State# s, CULong#) #writeOffAddr# :: Addr# -> Int# -> CULong -> State# s -> State# s #setOffAddr# :: Addr# -> Int# -> Int# -> CULong -> State# s -> State# s # Instance detailsDefined in Data.Primitive.Types MethodsreadByteArray# :: MutableByteArray# s -> Int# -> State# s -> (#State# s, CLLong#) #writeByteArray# :: MutableByteArray# s -> Int# -> CLLong -> State# s -> State# s #setByteArray# :: MutableByteArray# s -> Int# -> Int# -> CLLong -> State# s -> State# s #readOffAddr# :: Addr# -> Int# -> State# s -> (#State# s, CLLong#) #writeOffAddr# :: Addr# -> Int# -> CLLong -> State# s -> State# s #setOffAddr# :: Addr# -> Int# -> Int# -> CLLong -> State# s -> State# s # Instance detailsDefined in Data.Primitive.Types MethodsreadByteArray# :: MutableByteArray# s -> Int# -> State# s -> (#State# s, CULLong#) #writeByteArray# :: MutableByteArray# s -> Int# -> CULLong -> State# s -> State# s #setByteArray# :: MutableByteArray# s -> Int# -> Int# -> CULLong -> State# s -> State# s #readOffAddr# :: Addr# -> Int# -> State# s -> (#State# s, CULLong#) #writeOffAddr# :: Addr# -> Int# -> CULLong -> State# s -> State# s #setOffAddr# :: Addr# -> Int# -> Int# -> CULLong -> State# s -> State# s # Instance detailsDefined in Data.Primitive.Types MethodsreadByteArray# :: MutableByteArray# s -> Int# -> State# s -> (#State# s, CBool#) #writeByteArray# :: MutableByteArray# s -> Int# -> CBool -> State# s -> State# s #setByteArray# :: MutableByteArray# s -> Int# -> Int# -> CBool -> State# s -> State# s #readOffAddr# :: Addr# -> Int# -> State# s -> (#State# s, CBool#) #writeOffAddr# :: Addr# -> Int# -> CBool -> State# s -> State# s #setOffAddr# :: Addr# -> Int# -> Int# -> CBool -> State# s -> State# s # Instance detailsDefined in Data.Primitive.Types MethodsreadByteArray# :: MutableByteArray# s -> Int# -> State# s -> (#State# s, CFloat#) #writeByteArray# :: MutableByteArray# s -> Int# -> CFloat -> State# s -> State# s #setByteArray# :: MutableByteArray# s -> Int# -> Int# -> CFloat -> State# s -> State# s #readOffAddr# :: Addr# -> Int# -> State# s -> (#State# s, CFloat#) #writeOffAddr# :: Addr# -> Int# -> CFloat -> State# s -> State# s #setOffAddr# :: Addr# -> Int# -> Int# -> CFloat -> State# s -> State# s # Instance detailsDefined in Data.Primitive.Types MethodsreadByteArray# :: MutableByteArray# s -> Int# -> State# s -> (#State# s, CDouble#) #writeByteArray# :: MutableByteArray# s -> Int# -> CDouble -> State# s -> State# s #setByteArray# :: MutableByteArray# s -> Int# -> Int# -> CDouble -> State# s -> State# s #readOffAddr# :: Addr# -> Int# -> State# s -> (#State# s, CDouble#) #writeOffAddr# :: Addr# -> Int# -> CDouble -> State# s -> State# s #setOffAddr# :: Addr# -> Int# -> Int# -> CDouble -> State# s -> State# s # Instance detailsDefined in Data.Primitive.Types MethodsreadByteArray# :: MutableByteArray# s -> Int# -> State# s -> (#State# s, CPtrdiff#) #writeByteArray# :: MutableByteArray# s -> Int# -> CPtrdiff -> State# s -> State# s #setByteArray# :: MutableByteArray# s -> Int# -> Int# -> CPtrdiff -> State# s -> State# s #readOffAddr# :: Addr# -> Int# -> State# s -> (#State# s, CPtrdiff#) #writeOffAddr# :: Addr# -> Int# -> CPtrdiff -> State# s -> State# s #setOffAddr# :: Addr# -> Int# -> Int# -> CPtrdiff -> State# s -> State# s # Instance detailsDefined in Data.Primitive.Types MethodsreadByteArray# :: MutableByteArray# s -> Int# -> State# s -> (#State# s, CSize#) #writeByteArray# :: MutableByteArray# s -> Int# -> CSize -> State# s -> State# s #setByteArray# :: MutableByteArray# s -> Int# -> Int# -> CSize -> State# s -> State# s #readOffAddr# :: Addr# -> Int# -> State# s -> (#State# s, CSize#) #writeOffAddr# :: Addr# -> Int# -> CSize -> State# s -> State# s #setOffAddr# :: Addr# -> Int# -> Int# -> CSize -> State# s -> State# s # Instance detailsDefined in Data.Primitive.Types MethodsreadByteArray# :: MutableByteArray# s -> Int# -> State# s -> (#State# s, CWchar#) #writeByteArray# :: MutableByteArray# s -> Int# -> CWchar -> State# s -> State# s #setByteArray# :: MutableByteArray# s -> Int# -> Int# -> CWchar -> State# s -> State# s #readOffAddr# :: Addr# -> Int# -> State# s -> (#State# s, CWchar#) #writeOffAddr# :: Addr# -> Int# -> CWchar -> State# s -> State# s #setOffAddr# :: Addr# -> Int# -> Int# -> CWchar -> State# s -> State# s # Instance detailsDefined in Data.Primitive.Types MethodsreadByteArray# :: MutableByteArray# s -> Int# -> State# s -> (#State# s, CSigAtomic#) #writeByteArray# :: MutableByteArray# s -> Int# -> CSigAtomic -> State# s -> State# s #setByteArray# :: MutableByteArray# s -> Int# -> Int# -> CSigAtomic -> State# s -> State# s #readOffAddr# :: Addr# -> Int# -> State# s -> (#State# s, CSigAtomic#) #writeOffAddr# :: Addr# -> Int# -> CSigAtomic -> State# s -> State# s #setOffAddr# :: Addr# -> Int# -> Int# -> CSigAtomic -> State# s -> State# s # Instance detailsDefined in Data.Primitive.Types MethodsreadByteArray# :: MutableByteArray# s -> Int# -> State# s -> (#State# s, CClock#) #writeByteArray# :: MutableByteArray# s -> Int# -> CClock -> State# s -> State# s #setByteArray# :: MutableByteArray# s -> Int# -> Int# -> CClock -> State# s -> State# s #readOffAddr# :: Addr# -> Int# -> State# s -> (#State# s, CClock#) #writeOffAddr# :: Addr# -> Int# -> CClock -> State# s -> State# s #setOffAddr# :: Addr# -> Int# -> Int# -> CClock -> State# s -> State# s # Instance detailsDefined in Data.Primitive.Types MethodsreadByteArray# :: MutableByteArray# s -> Int# -> State# s -> (#State# s, CTime#) #writeByteArray# :: MutableByteArray# s -> Int# -> CTime -> State# s -> State# s #setByteArray# :: MutableByteArray# s -> Int# -> Int# -> CTime -> State# s -> State# s #readOffAddr# :: Addr# -> Int# -> State# s -> (#State# s, CTime#) #writeOffAddr# :: Addr# -> Int# -> CTime -> State# s -> State# s #setOffAddr# :: Addr# -> Int# -> Int# -> CTime -> State# s -> State# s # Instance detailsDefined in Data.Primitive.Types MethodsreadByteArray# :: MutableByteArray# s -> Int# -> State# s -> (#State# s, CUSeconds#) #writeByteArray# :: MutableByteArray# s -> Int# -> CUSeconds -> State# s -> State# s #setByteArray# :: MutableByteArray# s -> Int# -> Int# -> CUSeconds -> State# s -> State# s #readOffAddr# :: Addr# -> Int# -> State# s -> (#State# s, CUSeconds#) #writeOffAddr# :: Addr# -> Int# -> CUSeconds -> State# s -> State# s #setOffAddr# :: Addr# -> Int# -> Int# -> CUSeconds -> State# s -> State# s # Instance detailsDefined in Data.Primitive.Types MethodsreadByteArray# :: MutableByteArray# s -> Int# -> State# s -> (#State# s, CSUSeconds#) #writeByteArray# :: MutableByteArray# s -> Int# -> CSUSeconds -> State# s -> State# s #setByteArray# :: MutableByteArray# s -> Int# -> Int# -> CSUSeconds -> State# s -> State# s #readOffAddr# :: Addr# -> Int# -> State# s -> (#State# s, CSUSeconds#) #writeOffAddr# :: Addr# -> Int# -> CSUSeconds -> State# s -> State# s #setOffAddr# :: Addr# -> Int# -> Int# -> CSUSeconds -> State# s -> State# s # Instance detailsDefined in Data.Primitive.Types MethodsreadByteArray# :: MutableByteArray# s -> Int# -> State# s -> (#State# s, CIntPtr#) #writeByteArray# :: MutableByteArray# s -> Int# -> CIntPtr -> State# s -> State# s #setByteArray# :: MutableByteArray# s -> Int# -> Int# -> CIntPtr -> State# s -> State# s #readOffAddr# :: Addr# -> Int# -> State# s -> (#State# s, CIntPtr#) #writeOffAddr# :: Addr# -> Int# -> CIntPtr -> State# s -> State# s #setOffAddr# :: Addr# -> Int# -> Int# -> CIntPtr -> State# s -> State# s # Instance detailsDefined in Data.Primitive.Types MethodsreadByteArray# :: MutableByteArray# s -> Int# -> State# s -> (#State# s, CUIntPtr#) #writeByteArray# :: MutableByteArray# s -> Int# -> CUIntPtr -> State# s -> State# s #setByteArray# :: MutableByteArray# s -> Int# -> Int# -> CUIntPtr -> State# s -> State# s #readOffAddr# :: Addr# -> Int# -> State# s -> (#State# s, CUIntPtr#) #writeOffAddr# :: Addr# -> Int# -> CUIntPtr -> State# s -> State# s #setOffAddr# :: Addr# -> Int# -> Int# -> CUIntPtr -> State# s -> State# s # Instance detailsDefined in Data.Primitive.Types MethodsreadByteArray# :: MutableByteArray# s -> Int# -> State# s -> (#State# s, CIntMax#) #writeByteArray# :: MutableByteArray# s -> Int# -> CIntMax -> State# s -> State# s #setByteArray# :: MutableByteArray# s -> Int# -> Int# -> CIntMax -> State# s -> State# s #readOffAddr# :: Addr# -> Int# -> State# s -> (#State# s, CIntMax#) #writeOffAddr# :: Addr# -> Int# -> CIntMax -> State# s -> State# s #setOffAddr# :: Addr# -> Int# -> Int# -> CIntMax -> State# s -> State# s # Instance detailsDefined in Data.Primitive.Types MethodsreadByteArray# :: MutableByteArray# s -> Int# -> State# s -> (#State# s, CUIntMax#) #writeByteArray# :: MutableByteArray# s -> Int# -> CUIntMax -> State# s -> State# s #setByteArray# :: MutableByteArray# s -> Int# -> Int# -> CUIntMax -> State# s -> State# s #readOffAddr# :: Addr# -> Int# -> State# s -> (#State# s, CUIntMax#) #writeOffAddr# :: Addr# -> Int# -> CUIntMax -> State# s -> State# s #setOffAddr# :: Addr# -> Int# -> Int# -> CUIntMax -> State# s -> State# s # Instance detailsDefined in Data.Primitive.Types MethodssizeOf# :: Addr -> Int# #readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (#State# s, Addr#) #writeByteArray# :: MutableByteArray# s -> Int# -> Addr -> State# s -> State# s #setByteArray# :: MutableByteArray# s -> Int# -> Int# -> Addr -> State# s -> State# s #readOffAddr# :: Addr# -> Int# -> State# s -> (#State# s, Addr#) #writeOffAddr# :: Addr# -> Int# -> Addr -> State# s -> State# s #setOffAddr# :: Addr# -> Int# -> Int# -> Addr -> State# s -> State# s # Prim (Ptr a) Instance detailsDefined in Data.Primitive.Types MethodssizeOf# :: Ptr a -> Int# #alignment# :: Ptr a -> Int# #readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (#State# s, Ptr a#) #writeByteArray# :: MutableByteArray# s -> Int# -> Ptr a -> State# s -> State# s #setByteArray# :: MutableByteArray# s -> Int# -> Int# -> Ptr a -> State# s -> State# s #indexOffAddr# :: Addr# -> Int# -> Ptr a #readOffAddr# :: Addr# -> Int# -> State# s -> (#State# s, Ptr a#) #writeOffAddr# :: Addr# -> Int# -> Ptr a -> State# s -> State# s #setOffAddr# :: Addr# -> Int# -> Int# -> Ptr a -> State# s -> State# s # Prim (FunPtr a) Instance detailsDefined in Data.Primitive.Types MethodssizeOf# :: FunPtr a -> Int# #alignment# :: FunPtr a -> Int# #readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (#State# s, FunPtr a#) #writeByteArray# :: MutableByteArray# s -> Int# -> FunPtr a -> State# s -> State# s #setByteArray# :: MutableByteArray# s -> Int# -> Int# -> FunPtr a -> State# s -> State# s #readOffAddr# :: Addr# -> Int# -> State# s -> (#State# s, FunPtr a#) #writeOffAddr# :: Addr# -> Int# -> FunPtr a -> State# s -> State# s #setOffAddr# :: Addr# -> Int# -> Int# -> FunPtr a -> State# s -> State# s #