Safe Haskell | Trustworthy |
---|---|
Language | Haskell2010 |
Affine traversals
here :: AffineTraversal (These a c) (These b c) a b Source #
An AffineTraversal
of the first half of a These
.
>>>
over here show (That 1)
That 1
>>>
over here show (These 'a' 2)
These "'a'" 2
there :: AffineTraversal (These c a) (These c b) a b Source #
An AffineTraversal
of the second half of a These
.
>>>
over there show (That 1)
That "1"
>>>
over there show (These 'a' 2)
These 'a' "2"