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. vectorProperty :: FindNearest -> Maybe PropertyReference

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

  2. vectorStatement :: QuasiQuoter

    hasql-th Hasql.TH

    :: Statement params (Vector row)
    
    Statement producing a vector of rows.

    Examples

    >>> :t [vectorStatement|select 1 :: int2|]
    ... :: Statement () (Vector Int16)
    

  3. vectorToRepa :: (Storable e, Vector Vector e, Container Vector e) => Vector e -> Array V DIM1 e

    hmatrix-repa Data.Packed.Repa

    convert a Storable vector to a DIM1 repa array

  4. package vector-buffer

    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.

  5. package vector-extras

    Utilities for the "vector" library This library is in an experimental state. Users should be prepared for frequent updates.

  6. toVectorOf :: Vector v a => Getting (Endo [a]) s a -> s -> v a

    lens Data.Vector.Generic.Lens

    Similar to toListOf, but returning a Vector.

    >>> (toVectorOf both (8,15) :: Vector.Vector Int) == Vector.fromList [8,15]
    True
    

  7. toVectorOf :: Getting (Endo [a]) s a -> s -> Vector a

    lens Data.Vector.Lens

    Similar to toListOf, but returning a Vector.

    >>> toVectorOf both (8,15) == Vector.fromList [8,15]
    True
    

  8. conduitVector :: forall v a (m :: Type -> Type) . (Vector v a, PrimMonad m) => Int -> ConduitT a (v a) m ()

    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.

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

  10. sinkVectorN :: forall v a (m :: Type -> Type) o . (Vector v a, PrimMonad m) => Int -> ConduitT a o m (v a)

    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

Page 40 of many | Previous | Next