Hoogle Search
Within LTS Haskell 24.32 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
omapVector :: ContentData a -> (a -> b) -> Vector bLambdaHack Game.LambdaHack.Definition.ContentData No documentation available.
sendFlyingVector :: MonadServerAtomic m => ActorId -> ActorId -> Container -> Maybe Bool -> m VectorLambdaHack Game.LambdaHack.Server.HandleEffectM No documentation available.
-
Convert between ByteString and Vector.Storable without copying This library allows conversion between the types from Data.ByteString (package bytestring) and Data.Vector.Storable (package vector) without copying the underlying data. This is useful, for example, when ByteString IO produces or consumes vectors of numbers in native byte order. The conversion relies on the fact that ByteString and Vector use their respective ForeignPtrs in compatible ways. This library is a fork of the spool package written by Keegan McAllister.
byteStringToVector :: Storable a => ByteString -> Vector abytestring-to-vector Data.Vector.Storable.ByteString Convert a ByteString to a Vector. This function can produce Vectors which do not obey architectural alignment requirements. On x86 this should not be an issue.
fromVectorWithDef :: Vector v a => a -> v a -> Chimera v achimera Data.Chimera Create a stream of values from a given prefix, followed by default value afterwards.
imapSubvectors :: (Vector u a, Vector v b) => (Word -> u a -> v b) -> Chimera u a -> Chimera v bchimera Data.Chimera Map subvectors of a stream, using a given length-preserving function. The first argument of the function is the index of the first element of subvector in the Chimera.
mapSubvectors :: (Vector u a, Vector v b) => (u a -> v b) -> Chimera u a -> Chimera v bchimera Data.Chimera Map subvectors of a stream, using a given length-preserving function.
prependVector :: Vector v a => v a -> Chimera v a -> Chimera v achimera Data.Chimera Prepend a given vector to a stream of values.
sliceSubvectors :: Vector v a => Int -> Int -> Chimera v a -> [v a]chimera Data.Chimera Take a slice of Chimera, represented as a list on consecutive subvectors.
-
chimera Data.Chimera Traverse subvectors of a stream, using a given length-preserving function. Be careful, because similar to tabulateM, only lazy monadic effects can be executed in a finite time: lazy state monad is fine, but strict one is not.