Skip to content

Instantly share code, notes, and snippets.

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