Less switchyness in select()