Are there any formatting conventions for multiline...
# announcements
t
Are there any formatting conventions for multiline nested lambda statements? For example, I have trouble splitting the following Kotlin code over multiple lines:
Copy code
words.map { word -> findMatches(word, wordsSet).map { println("$word -> $it") } }
As a reference, In Lisp, I would expect this to be something like:
Copy code
(map words
      (word => (map (matches word wordsSet))
                  (println "$word -> $it")))