ral-optics-0.1: Length-indexed random access lists: optics utilities.
Data.RAList.NonEmpty.Optics
Contents
ix :: Int -> AffineTraversal' (NERAList a) a Source #
Methods
imap :: (Int -> a -> b) -> NERAList a -> NERAList b #
ifoldMap :: Monoid m => (Int -> a -> m) -> NERAList a -> m #
ifoldr :: (Int -> a -> b -> b) -> b -> NERAList a -> b #
ifoldl' :: (Int -> b -> a -> b) -> b -> NERAList a -> b #
itraverse :: Applicative f => (Int -> a -> f b) -> NERAList a -> f (NERAList b) #
each :: IxTraversal Int (NERAList a) (NERAList b) a b #
Associated Types
type IxKind (NERAList a) :: OpticKind #
ix :: Index (NERAList a) -> Optic' (IxKind (NERAList a)) NoIx (NERAList a) (IxValue (NERAList a)) #