Well, I have a beginner problem (for me, atm, is a very advanced problem ).
I have a list of tuples, like:
x = [("a","b","c"),("d","e","f")]Ö and I need to change, letís say, the "e" for "xyz". Can it be done?
Iíve tried to apply pattern matching, but with no success.
With tuples of 2 elements itís easier (by using fst and snd)Ö but Iím having lots of problems with tuples of 3 elements.
Is pattern matching the right way to solve this?
Any help will be welcome.
Thanks in advanced.