let sum (p: int * int) : int = let i, result = p in i + result