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