I am new to function programming language and need help for one of my problem.
I need to create a map between two tuple of sequences :
A = tuple1(tuple1(tuple1(x,y),z),a)
B = tuple2(tuple2(tuple2(1,2),3),4)
now i need something like below :
C = ((x,1),(y,2),(z,3),(a,4)) and if i search for say x then i need to get 1 ;
The number of tuple occurrences are unknown but both the tuple structure will be similar. I could not understand and map the solution for similar kind of questions in stackoverflow. So solution with explanation will be helpful
zipwithtoMapto get what you want.