Package oolong.dispatch

Functions

Link copied to clipboard
fun <A, B> contramap(dispatch: Dispatch<A>, f: (B) -> A): Dispatch<B>

Contramap from Dispatch of A to Dispatch of B