of

fun <I1, I2, O> (I2) -> O.of(first: (I1) -> I2): (I1) -> O

Compose two functions. first is called first, and then this is called with the result.