title: How do I extract two lists from a tuple containing two lists before I zip them? (using OCaml)
body: <p>If I have an input of a tuple containing two lists of integers of the same length, and I want my output to be a list of these two lists zipped, then how do I first extract these two lists from the tuple? For example, if my input is twolists= ([1;2;3], [4;5;6]), then I want my output to be [(1,4); (2,5); (3,6)]. How do I first separate the tuple into (for example) l1= [1;2;3], and l2= [4;5;6]? </p>