SN
Size: a a a
SN
SN
SN
SN
SN
SN
G

SN
SN
G
SN
G
SN
SN
G
SN
type Point(x: int, y: int) =
member val X = x
member val Y = y
new() = Point(0, 0)
static member (+) (first: Point, second: Point) =
Point(first.X + second.X, first.Y + second.Y)
static member (+) ((x: int, y: int), second: Point) =
Point(x + second.X, y + second.Y)
static member (+) (first: Point, (x: int, y: int)) =
Point(x + first.X, y + first.Y)
let p1 = Point(x=1, y=1)
p1 + (1, 2)
(1, 2) + p1
SN
G
G