I'm just getting used to Scala and I have
case class Person(name: String, birthPlace: String, hairColor: String)
I know that there should be a good way to convert a List[Person] to
Map[Name, Map[Birthplace, Person]]
But, I can't quite figure out how to do it.
Any and all help would be appreciated.