tapLeft is being renamed to onLeft to be more consistent with the Kotlin Standard Library naming
onLeft(f)