JoinValue

like MappedValue, but for an arbitrary number of inputs