tijs
06/20/2017, 10:29 AMwords.map { word -> findMatches(word, wordsSet).map { println("$word -> $it") } }
As a reference, In Lisp, I would expect this to be something like:
(map words
(word => (map (matches word wordsSet))
(println "$word -> $it")))