I've started working through this. I was delighted to realize that a Map could be used as a function:
val m=Map("foo" -> "bar", "baz" -> "quux", "fred" -> "barney") List("foo","fred","foo","baz").map(m)
val m=Map("foo" -> "bar", "baz" -> "quux", "fred" -> "barney")
List("foo","fred","foo","baz").map(m)
(no subject)
Date: 2011-04-15 12:07 pm (UTC)I've started working through this. I was delighted to realize that a Map could be used as a function: