Question: Please code this method in OCaml and without using list library methods. This code should only be implemented using the standard library. Thank you. jumping
Please code this method in OCaml and without using list library methods. This code should only be implemented using the standard library. Thank you. jumpingtuples lst lst Type: a b list c a list list Description: Given two lists of two element tuples, st and lst returns a list with the first element of every odd indexed tuple in st and the second element of every even indexed tuple in st interwoven together starting from index For this function, consider as even. If the lists are not the same length, the resulting list should have the length of the shorter of the input lists. Examples: jumpingtuples ; ; ; ; ; ; jumpingtuples true, a; falseb false false jumpingtuples "first", "second"; third "fourth" "fifth", "sixth"; seventh "eighth" "sixth"; "third" jumpingtuples
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
