Lets say I have a tuple list. Just to make it easier to refer to, its a coordinates with an x and y values.
let test = [(1,34);(2,43);(3,21);(1,51);(2,98);(3,56);(1,51)]
I want to make another list using test so that if I only want value which has an x value of 1, it would return [34;51;51]