I want to split this tuple into:
{d,[{{1,c},{2,g}},{{3,f},{4,f}}]}
a = [1,c],[2,g]
b = [3,f],[4,f]
where a and b are just variable
I tried looking at extraction of elements of tuples
But not able to split it like that I want.
Any help will be appreciated.