Skip to content

Instantly share code, notes, and snippets.

@sidharthkuruvila
Created August 23, 2011 07:11
Show Gist options
  • Save sidharthkuruvila/1164536 to your computer and use it in GitHub Desktop.
Save sidharthkuruvila/1164536 to your computer and use it in GitHub Desktop.
Convert a List of Ints into a String
println(List(72, 101, 108, 108, 111).map(_.toChar)(collection.breakOut))
//prints: hello
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment