Hoogle Search
Within LTS Haskell 24.66 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
unsafeToForeignPtr0 :: Vector a -> (ForeignPtr a, Int)rebase Rebase.Data.Vector.Storable No documentation available.
unsafeWithForeignPtr :: ForeignPtr a -> (Ptr a -> IO b) -> IO brebase Rebase.Data.Vector.Storable.Internal This is similar to withForeignPtr but comes with an important caveat: the user must guarantee that the continuation does not diverge (e.g. loop or throw an exception). In exchange for this loss of generality, this function offers the ability of GHC to optimise more aggressively. Specifically, applications of the form: unsafeWithForeignPtr fptr (forever something) See GHC issue #17760 for more information about the unsoundness behavior that this function can result in.
iforM_ :: (PrimMonad m, Storable a) => MVector (PrimState m) a -> (Int -> a -> m b) -> m ()rebase Rebase.Data.Vector.Storable.Mutable No documentation available.
unsafeFromForeignPtr :: Storable a => ForeignPtr a -> Int -> Int -> MVector s arebase Rebase.Data.Vector.Storable.Mutable No documentation available.
unsafeFromForeignPtr0 :: ForeignPtr a -> Int -> MVector s arebase Rebase.Data.Vector.Storable.Mutable No documentation available.
unsafeToForeignPtr :: MVector s a -> (ForeignPtr a, Int, Int)rebase Rebase.Data.Vector.Storable.Mutable No documentation available.
unsafeToForeignPtr0 :: MVector s a -> (ForeignPtr a, Int)rebase Rebase.Data.Vector.Storable.Mutable No documentation available.
newtype
DoNotUnboxNormalForm arebase Rebase.Data.Vector.Unboxed No documentation available.
DoNotUnboxNormalForm :: a -> DoNotUnboxNormalForm arebase Rebase.Data.Vector.Unboxed No documentation available.
iforM :: (Monad m, Unbox a, Unbox b) => Vector a -> (Int -> a -> m b) -> m (Vector b)rebase Rebase.Data.Vector.Unboxed No documentation available.