Hoogle Search

Within LTS Haskell 24.3 (ghc-9.10.2)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. vectorSamples :: (C y yv, Transform sig yv) => (amp -> y) -> T rate (Numeric amp) (sig yv) -> sig yv

    synthesizer-dimensional Synthesizer.Dimensional.Signal.Private

    No documentation available.

  2. package vector-builder

    Vector builder An API for efficient and convenient construction of vectors. It provides the composable Builder abstraction, which has instances of the Monoid and Semigroup classes.

    • Usage
    First you use the Builder abstraction to specify the structure of the vector. Then you execute the builder to actually produce the vector.
    • Example
    The following code shows how you can efficiently concatenate different datastructures into a single immutable vector:
    import qualified Data.Vector as A
    import qualified VectorBuilder.Builder as B
    import qualified VectorBuilder.Vector as C
    
    
    myVector :: A.Vector a -> [a] -> a -> A.Vector a
    myVector vector list element =
    C.build builder
    where
    builder =
    B.vector vector <>
    B.foldable list <>
    B.singleton element
    

  3. package vector-hashtables

    Efficient vector-based mutable hashtables implementation. This package provides efficient vector-based hashtable implementation similar to .NET Generic Dictionary implementation (at the time of 2015). See Data.Vector.Hashtables for documentation.

  4. vectorToFrom :: Point -> Point -> Vector

    LambdaHack Game.LambdaHack.Common.Vector

    The vector between the second point and the first. We have

    shift pos1 (pos2 `vectorToFrom` pos1) == pos2
    
    The arguments are in the same order as in the underlying scalar subtraction.

  5. vectorUnboxedUnsafeIndex :: Unbox a => Vector a -> Int -> a

    LambdaHack Game.LambdaHack.Core.Prelude

    No documentation available.

  6. vectorOf :: Int -> Gen a -> Gen [a]

    bcp47 Data.BCP47.Internal.Arbitrary

    Generates a list of the given length.

  7. vectorToByteString :: Storable a => Vector a -> ByteString

    bytestring-to-vector Data.Vector.Storable.ByteString

    Convert a Vector to a ByteString.

  8. vectorBuilderC :: forall (m :: Type -> Type) v e n i r . (PrimMonad m, Vector v e, PrimMonad n, PrimState m ~ PrimState n) => Int -> ((e -> n ()) -> ConduitT i Void m r) -> ConduitT i (v e) m r

    classy-prelude-conduit ClassyPrelude.Conduit

    Generally speaking, yielding values from inside a Conduit requires some allocation for constructors. This can introduce an overhead, similar to the overhead needed to represent a list of values instead of a vector. This overhead is even more severe when talking about unboxed values. This combinator allows you to overcome this overhead, and efficiently fill up vectors. It takes two parameters. The first is the size of each mutable vector to be allocated. The second is a function. The function takes an argument which will yield the next value into a mutable vector. Under the surface, this function uses a number of tricks to get high performance. For more information on both usage and implementation, please see: https://www.fpcomplete.com/user/snoyberg/library-documentation/vectorbuilder

  9. package vector-split

    Combinator library for splitting vectors. This package aims to be a vector-based drop-in replacement for the list-based split package. For more information see the haddocs or checkout the source on github.

  10. package vector-stream

    Efficient Streams Simple yet powerful monadic streams that are used as a backbone for vector package fusion functionality.

Page 34 of many | Previous | Next