Skip to content

Instantly share code, notes, and snippets.

@ataulm
Created August 10, 2018 10:49
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 ataulm/b71e68bf0a1f04bf27de0d4be2e8a70d to your computer and use it in GitHub Desktop.
Save ataulm/b71e68bf0a1f04bf27de0d4be2e8a70d to your computer and use it in GitHub Desktop.
// Collection<T>.plus(element: T): List<T>
val appendedElements = a + b + 7 + 8 + 9
println(appendedElements) // prints [1, 2, 3, 4, 5, 6, 7, 8, 9]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment