I think adding this function is a really good idea. `transform` and `transformWith` seem to be very fundamental operations and both are going to be very useful.