Use repr for showing invalid values, helps detecting type mismatches