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.
pattern
GL_MAX_VERTEX_UNIFORM_VECTORS :: GLenumOpenGLRaw Graphics.GL.Tokens No documentation available.
pattern
GL_VECTOR_EXT :: GLenumOpenGLRaw Graphics.GL.Tokens No documentation available.
ValueVector :: Type -> Vector Value -> Valuedbus DBus.Internal.Types No documentation available.
-
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]
asVector :: FromVector t a => t -> Vector aharpie Harpie.Array No documentation available.
unsafeModifyVector :: (FromVector u a, FromVector v b) => (u -> v) -> Array a -> Array bharpie 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]
-
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]
asVector :: FromVector t a => t -> Vector aharpie Harpie.Fixed No documentation available.
-
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]]
fromVector :: Context a => (Int, Int) -> Vector a -> Matrix amatrices Data.Matrix No documentation available.