Report question

Question: How are Scala collections able to return the correct collection type from a map operation?