vector-hashtables-0.1.0.0
Copyright(c) klapaucius swamp_agr 2016-2021
LicenseBSD3
Safe HaskellNone
LanguageHaskell2010

Data.Primitive.PrimArray.Utils

Description

 

Documentation

replicate :: (PrimMonad m, Prim a) => Int -> a -> m (MutablePrimArray (PrimState m) a) Source #

clone :: (PrimMonad m, Prim a) => MutablePrimArray (PrimState m) a -> m (MutablePrimArray (PrimState m) a) Source #

unsafeFreeze :: PrimMonad m => MutablePrimArray (PrimState m) a -> m (PrimArray a) Source #

unsafeThaw :: PrimMonad m => PrimArray a -> m (MutablePrimArray (PrimState m) a) Source #

growWith :: (PrimMonad m, Prim a) => a -> MutablePrimArray (PrimState m) a -> Int -> m (MutablePrimArray (PrimState m) a) Source #

growNoZ :: (PrimMonad m, Prim a) => MutablePrimArray (PrimState m) a -> Int -> m (MutablePrimArray (PrimState m) a) Source #

freeze :: (PrimMonad m, Prim a) => MutablePrimArray (PrimState m) a -> m (PrimArray a) Source #

length :: Prim a => MutablePrimArray s a -> Int Source #