type Arr = []int | []string

fn (arr Arr) str() string {
	return match arr {
		[]string {
			arr.join(' ')
		}
		[]int {
			return arr.str()
		}
	}
}

fn main() {
	println(Arr([0, 0]))
	println(Arr(['0', '0']))
}
