then

fun <I1, I2, O> (I1) -> I2.then(second: (I2) -> O): (I1) -> O

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