Remove duplicates in a String [] list f#
- by Jose Maria de la Torre
I need some noob help...
I have a String[] list (a list that each element is a Array of strings)
I wish to remove all duplicates in the list. But to see if they are duplicates I need to see the fist element in the array.
what I have tried is
let NotDuplicated =
Duplicated.[0]
|> Seq.distinct
let NotDuplicated =
Duplicated
|> Seq.distinctBy id
but nothing is working... can you guys please help me.. thanks!!