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. pattern GL_MAX_VERTEX_UNIFORM_VECTORS :: GLenum

    OpenGLRaw Graphics.GL.Tokens

    No documentation available.

  2. pattern GL_VECTOR_EXT :: GLenum

    OpenGLRaw Graphics.GL.Tokens

    No documentation available.

  3. ValueVector :: Type -> Vector Value -> Value

    dbus DBus.Internal.Types

    No documentation available.

  4. class FromVector t a | t -> a

    harpie Harpie.Array

    Conversion to and from a Vector Note that conversion of an Array to a vector drops shape information, so that:

    vectorAs . asVector == id
    asVector . vectorAs == flat
    
    >>> asVector (range [2,3])
    [0,1,2,3,4,5]
    
    >>> vectorAs (V.fromList [0..5]) :: Array Int
    UnsafeArray [6] [0,1,2,3,4,5]
    

  5. asVector :: FromVector t a => t -> Vector a

    harpie Harpie.Array

    No documentation available.

  6. unsafeModifyVector :: (FromVector u a, FromVector v b) => (u -> v) -> Array a -> Array b

    harpie Harpie.Array

    Unsafely modify an array vector.

    >>> unsafeModifyVector (V.map (+1)) (array [2,3] [0..5])
    UnsafeArray [2,3] [1,2,3,4,5,6]
    

  7. class FromVector t a | t -> a

    harpie Harpie.Fixed

    Conversion to and from a Vector Note that conversion of an Array to a vector drops shape information, so that:

    vectorAs . asVector == id
    asVector . vectorAs == 'flat'
    
    >>> asVector (range @[2,3])
    [0,1,2,3,4,5]
    
    >>> import Data.Vector qualified as V
    
    >>> vectorAs (V.fromList [0..5]) :: Array [2,3] Int
    [0,1,2,3,4,5]
    

  8. asVector :: FromVector t a => t -> Vector a

    harpie Harpie.Fixed

    No documentation available.

  9. unsafeModifyVector :: forall (s :: [Nat]) u a v b . (KnownNats s, FromVector u a, FromVector v b) => (u -> v) -> Array s a -> Array s b

    harpie Harpie.Fixed

    Unsafely modify an array vector.

    >>> import Data.Vector qualified as V
    
    >>> pretty (unsafeModifyVector (V.map (+1)) (array [0..5] :: Array [2,3] Int))
    [[1,2,3],
    [4,5,6]]
    

  10. fromVector :: Context a => (Int, Int) -> Vector a -> Matrix a

    matrices Data.Matrix

    No documentation available.

Page 69 of many | Previous | Next