Created
May 11, 2012 19:01
-
-
Save hamnis/2661764 to your computer and use it in GitHub Desktop.
This file contains 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
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