contramap

fun <A, B> contramap(dispatch: Dispatch<A>, f: (B) -> A): Dispatch<B>

Contramap from Dispatch of A to Dispatch of B

See: https://oolong-kt.org/recipes/navigation/