Functor instance for Chain.
Applies f to every value inside v.
f
v
Implements Invariant.imap by ignoring the backward function.