Hi,
I have a problem that I have been trying to solve for the past week.
I have to implement swap (X,Y,List,NList) which binds Nlist with List but with its Xth and Yth elements swapped.
eg. swap (2,4,[a,b,c,d,e],Final) binds Final to [a,d,c,b,e].
Below is the code I managed to write but it...