Skip to content

Instantly share code, notes, and snippets.

@marianosimone
Created August 8, 2018 17:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marianosimone/03599feb5c39ed6768910dcfc2a66edb to your computer and use it in GitHub Desktop.
Save marianosimone/03599feb5c39ed6768910dcfc2a66edb to your computer and use it in GitHub Desktop.
example 7 [java is dead, long live Kotlin - 2018-08 post@thumbtack]
val allStrings = generateSequence(root) { it.next }.map { it.value }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment