Costrong instance for Tagged: keeps only the wanted component of the carried pair.
Pre-composes f on the input and post-composes g on the output.
f
g
Maps only the input.
Maps only the output.
Removes the second component carried alongside A / B.
A
B
Removes the first component carried alongside A / B.