<Problems trying to change mutable set into list a...
# stackoverflow
u
Problems trying to change mutable set into list after editing it I want to find the new mapping of word to other words with the same pronounciations. However, I do not wish to include the original word in this list. I am unable to solve it and am getting a null results with this. fun homophoneMap(): Map { val m = readPronounciations() val r = reverseMap(m) var h = mutableMapOf() var hlist: MutableList = mutableListOf() val originalWord: String = "test" for ((word,pro2) in m) originalWord = word for...