static Pt neg(Pt p) { ret p ?: Pt(-p.x, -p.y); } meta-for int also as double { static int neg(int i) { ret -i; } }