Advertisement
Guest User

True Magic

a guest
Jul 30th, 2014
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
F# 0.16 KB | None | 0 0
  1. type Point (x, y) =
  2.   member val X = x with get, set
  3.   member val Y = y with get, set
  4.   member this.Add (that: Point) = Point (this.X + that.X, this.Y + that.Y)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement