Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
class (Is k A_Traversal, ViewableOptic k r) => PermeableOptic k r where Source #
passthrough :: Optic k is s t a b -> (a -> (r, b)) -> s -> (ViewResult k r, t) Source #
Modify the target of an Optic
returning extra information of type r
.