Ranges as expressions