
上QQ阅读APP看书,第一时间看更新
Questions
- Describe two ways to make it possible for some resource, R, to use it together with scala.util.Using resource management utility.
- How can an instance of a Set and an instance of a List be compared to each other?
- Name the default concrete implementation for an immutable Seq.
- Name the default concrete implementation for an immutable indexed Seq.
- Name the default concrete implementation for a mutable Seq.
- Name the default concrete implementation for a mutable indexed Seq.
- It is sometimes said that List.flatMap is more powerful than it was expected to be. Can you explain why?
- Describe a way to map over a collection multiple times using different functions but without producing intermediate collections.