Question: 4. Define a SCHEME function, unzip, which takes a list of pairs ((a .b)... (an .bn)) and returns a pair consisting of the two lists

4. Define a SCHEME function, unzip, which takes a list of pairs ((a .b)... (an .bn)) and returns a pair consisting of the two lists (a ...an) and (b. ... bn). (Note that these functions are not exactly inverses of each other, since zip takes its lists as a two arguments, while unzip produces a pair of lists.)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
