bimap

fun <C, D> bimap(f: (A) -> C, g: (B) -> D): Schedule.Decision<C, D>(source)