Hoogle Search
Within LTS Haskell 22.24 (ghc-9.6.5)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
ix :: Eq k => k -> Lens' (k -> v) vlens-family Lens.Family2.Stock Lens on a given point of a function.
ix :: (Eq k, Functor f) => k -> LensLike' f (k -> v) vlens-family-core Lens.Family.Stock ix :: Eq k => k -> Lens' (k -> v) v
Lens on a given point of a function.-
vector-sized Data.Vector.Generic.Sized Lens to access (O(1)) and update (O(n)) an arbitrary element by its index.
ix :: forall n a f . (Prim a, Functor f) => Finite n -> (a -> f a) -> Vector n a -> f (Vector n a)vector-sized Data.Vector.Primitive.Sized Lens to access (O(1)) and update (O(n)) an arbitrary element by its index.
ix :: forall n a f . Functor f => Finite n -> (a -> f a) -> Vector n a -> f (Vector n a)vector-sized Data.Vector.Sized Lens to access (O(1)) and update (O(n)) an arbitrary element by its index.
-
vector-sized Data.Vector.Storable.Sized Lens to access (O(1)) and update (O(n)) an arbitrary element by its index.
ix :: forall n a f . (Unbox a, Functor f) => Finite n -> (a -> f a) -> Vector n a -> f (Vector n a)vector-sized Data.Vector.Unboxed.Sized Lens to access (O(1)) and update (O(n)) an arbitrary element by its index.
ix :: Ixed m => Index m -> Optic' (IxKind m) NoIx m (IxValue m)optics-extra Optics.At NB: Setting the value of this AffineTraversal will only set the value in at if it is already present. If you want to be able to insert missing values, you want at.
>>> [1,2,3,4] & ix 2 %~ (*10) [1,2,30,4]
>>> "abcd" & ix 2 .~ 'e' "abed"
>>> "abcd" ^? ix 2 Just 'c'
>>> [] ^? ix 2 Nothing
-
boltzmann-samplers Boltzmann.Data.Oracle No documentation available.
-
The Ix class is used to map a contiguous subrange of values in type onto integers. It is used primarily for array indexing (see the array package). Ix uses row-major order.