Skip to content

Instantly share code, notes, and snippets.

@betrcode
Created March 12, 2014 09:16
Show Gist options
  • Select an option

  • Save betrcode/9503487 to your computer and use it in GitHub Desktop.

Select an option

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