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.
vectorProperty :: FindNearest -> Maybe PropertyReferencegogol-datastore Gogol.Datastore.Types Required. An indexed vector property to search upon. Only documents which contain vectors whose dimensionality match the query_vector can be returned.
vectorStatement :: QuasiQuoterhasql-th Hasql.TH :: Statement params (Vector row)
Statement producing a vector of rows.Examples
>>> :t [vectorStatement|select 1 :: int2|] ... :: Statement () (Vector Int16)
vectorToRepa :: (Storable e, Vector Vector e, Container Vector e) => Vector e -> Array V DIM1 ehmatrix-repa Data.Packed.Repa convert a Storable vector to a DIM1 repa array
-
A buffer compatible with Data.Vector.* A buffer type that can easily be converted to a Data.Vector.Storable vector from the vector package and compatible with hmatrix. Elements are pushed into the buffer. When the buffer is converted to a read-only vector, the last-pushed element occurs at the end. Monadic map functions also operate so that the last-pushed element is treated last.
-
Utilities for the "vector" library This library is in an experimental state. Users should be prepared for frequent updates.
toVectorOf :: Vector v a => Getting (Endo [a]) s a -> s -> v alens Data.Vector.Generic.Lens Similar to toListOf, but returning a Vector.
>>> (toVectorOf both (8,15) :: Vector.Vector Int) == Vector.fromList [8,15] True
toVectorOf :: Getting (Endo [a]) s a -> s -> Vector alens Data.Vector.Lens Similar to toListOf, but returning a Vector.
>>> toVectorOf both (8,15) == Vector.fromList [8,15] True
-
conduit Conduit Break up a stream of values into vectors of size n. The final vector may be smaller than n if the total number of values is not a strict multiple of n. No empty vectors will be yielded.
sinkVector :: forall v a (m :: Type -> Type) o . (Vector v a, PrimMonad m) => ConduitT a o m (v a)conduit Conduit Sink incoming values into a vector, growing the vector as necessary to fit more elements. Note that using this function is more memory efficient than sinkList and then converting to a Vector, as it avoids intermediate list constructors. Subject to fusion
-
conduit Conduit Sink incoming values into a vector, up until size maxSize. Subsequent values will be left in the stream. If there are less than maxSize values present, returns a Vector of smaller size. Note that using this function is more memory efficient than sinkList and then converting to a Vector, as it avoids intermediate list constructors. Subject to fusion