My problem is I have a list and want to remove some strings in it. but when I remove the first time it's OK. but the second time, it removes the string but bring back the first one. do you know how I can avoid this? thank you
Prelude Data.List Data.Char> x = ["ab","cd","ef","gh"]
Prelude Data.List Data.Char> delete "ab" x
["cd","ef","gh"]
Prelude Data.List Data.Char> delete "cd" x
["ab","ef","gh"]
!!Here the "ab"
came back and I don't want this!! thanks