Use a function as the start or end of a range.