proton-0.0.4
Safe HaskellNone
LanguageHaskell2010

Proton.Indexed

Documentation

indexing :: Indexable i p q => (s -> i) -> p s t -> q s t Source #

itoListOf :: IndexedOptic i (Forget [(i, a)]) s t a b -> s -> [(i, a)] Source #

iover :: IndexedOptic i (->) s t a b -> (i -> a -> b) -> s -> t Source #

iset :: IndexedOptic i (->) s t a b -> (i -> b) -> s -> t Source #