Skip to content

Instantly share code, notes, and snippets.

@betrcode
Created March 12, 2014 09:16
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 betrcode/9503487 to your computer and use it in GitHub Desktop.
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
s"[${p.channels.map(id => s"'$id'").mkString(",")}]",
@betrcode
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment