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.

  1. type MVector = MVector MVector

    vector-sized Data.Vector.Unboxed.Sized

    Vector specialized to use Mutable.

  2. withVectorUnsafe :: forall a b (n :: Nat) . (Vector a -> Vector b) -> Vector n a -> Vector n b

    vector-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.

  3. zipVectorsUnsafe :: forall a b c (n :: Nat) . (Vector a -> Vector b -> Vector c) -> Vector n a -> Vector n b -> Vector n c

    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.

  4. genericGetVector :: (Vector v a, Binary a) => Get (v a)

    vector-binary-instances Data.Vector.Binary

    Generic function for vector deserialization.

  5. genericGetVectorWith :: Vector v a => Get Int -> Get a -> Get (v a)

    vector-binary-instances Data.Vector.Binary

    Deserialize vector using custom parsers.

  6. genericPutVector :: (Vector v a, Binary a) => v a -> Put

    vector-binary-instances Data.Vector.Binary

    Generic put for anything in the G.Vector class.

  7. genericPutVectorWith :: Vector v a => (Int -> Put) -> (a -> Put) -> v a -> Put

    vector-binary-instances Data.Vector.Binary

    Generic put for anything in the G.Vector class which uses custom encoders.

  8. makeVectorR :: Load r Ix1 e => r -> Comp -> Sz1 -> (Ix1 -> e) -> Vector r e

    massiv Data.Massiv.Array

    Same as makeArrayR, but restricted to 1-dimensional arrays.

  9. 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

  10. evalBoxedVector :: Comp -> Vector a -> Array B Ix1 a

    massiv Data.Massiv.Array.Manifest

    O(n) - Convert a boxed vector and evaluate all elements to WHNF. Computation strategy will be respected during evaluation

Page 57 of many | Previous | Next