kevinmost
11/24/2017, 4:19 PMval v2 = if (v1.v == 1) v1 else v1.copy(v = 1)
I do see your point but I think the stdlib and language in general was designed to be lean and orthogonal and let you do exactly what you want with their building blocks, not provide an exact feature for everything everyone might want