flip -package:regex-tdfa package:lens

The isomorphism for flipping a function.
>>> ((,)^.flipped) 1 2
(2,1)