Created
March 12, 2014 09:16
-
-
Save betrcode/9503487 to your computer and use it in GitHub Desktop.
Convert a List[int] with integer ids to a stringified list of stringified keys in Scala
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
s"[${p.channels.map(id => s"'$id'").mkString(",")}]", |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Compare Python version: https://gist.github.com/betrcode/9503396