Eg. Map[Map[String,Int],Int] I need to convert it into Map[String,Int] i.e Int in value part of inner map is replaced with Int in value part of outer map.
For example:
val innerMap = Map("a"->1)
val outerMap = Map(innerMap, 2)
Required result:
resultMap = Map("a"->2)
Map(Map("a"->1)->11,Map("a"->2)->22)Should the result be"a"->11or"a"->22?Map(Map("a" -> 1, "b" -> 2) -> 3))?