Hoogle Search
Within LTS Haskell 24.6 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
type
MVector = MVector MVectorvector-sized Data.Vector.Unboxed.Sized withVectorUnsafe :: forall a b (n :: Nat) . (Vector a -> Vector b) -> Vector n a -> Vector n bvector-sized Data.Vector.Unboxed.Sized Apply a function on unsized vectors to a sized vector. The function must preserve the size of the vector, this is not checked.
-
vector-sized Data.Vector.Unboxed.Sized Apply a function on two unsized vectors to sized vectors. The function must preserve the size of the vectors, this is not checked.
genericGetVector :: (Vector v a, Binary a) => Get (v a)vector-binary-instances Data.Vector.Binary Generic function for vector deserialization.
genericGetVectorWith :: Vector v a => Get Int -> Get a -> Get (v a)vector-binary-instances Data.Vector.Binary Deserialize vector using custom parsers.
genericPutVector :: (Vector v a, Binary a) => v a -> Putvector-binary-instances Data.Vector.Binary Generic put for anything in the G.Vector class.
genericPutVectorWith :: Vector v a => (Int -> Put) -> (a -> Put) -> v a -> Putvector-binary-instances Data.Vector.Binary Generic put for anything in the G.Vector class which uses custom encoders.
makeVectorR :: Load r Ix1 e => r -> Comp -> Sz1 -> (Ix1 -> e) -> Vector r emassiv Data.Massiv.Array Same as makeArrayR, but restricted to 1-dimensional arrays.
evalBoxedMVector :: PrimMonad m => MVector (PrimState m) a -> m (MArray (PrimState m) B Ix1 a)massiv Data.Massiv.Array.Manifest O(n) - Convert mutable boxed vector and evaluate all elements to WHNF sequentially. Both keep pointing to the same memory
evalBoxedVector :: Comp -> Vector a -> Array B Ix1 amassiv Data.Massiv.Array.Manifest O(n) - Convert a boxed vector and evaluate all elements to WHNF. Computation strategy will be respected during evaluation