Trying to understand tuples in F#..
Current thought process
let add tuples a b =
let a = (_,_)
let b= (_,_)
(a+b)
this won't work due to "_" being invalid for this case so then I thought to try
let add tuples a b =
let a = (c,d)
let b = (e,f)
fst a + fst b, snd a + snd b;;
this won't work because c,d,e,&f are not known variables. In java I would traditionally just initialize that variable so it can be used but in F# that seems a bit funky let a= int not even sure if that would work anyways
any help on trying to fix my thought process would be appreciated. Thanks
edit:
expected result
a (1,3) b (2,4) return (3,7)