discriminate list and vector from seq strictly