Skip to content

Instantly share code, notes, and snippets.

@hamnis
Created May 11, 2012 19:01
Show Gist options
  • Save hamnis/2661764 to your computer and use it in GitHub Desktop.
Save hamnis/2661764 to your computer and use it in GitHub Desktop.
val doit = for {
foo <- lookup("foo").toInt.withName("bzz")
bar <- lookup("bar").withName("Brum")
} yield List(foo, bar)
val mapped = doit.apply(map).toMap // skal bli til en Map[String, Array[String]]
//Unfiltered QParams gjør noe nesten slik...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment