If in Haskell I had a tuple:
x = (1, 2)
I could use fst x to retrieve 1 and snd x to retrieve 2
I was wondering, if I had a triple:
y = (1, 2, 3)
is there a similar function I could use?
If in Haskell I had a tuple:
x = (1, 2)
I could use fst x to retrieve 1 and snd x to retrieve 2
I was wondering, if I had a triple:
y = (1, 2, 3)
is there a similar function I could use?