Examples of using some Scala Option methods

Viewed 7200

I have read the blog post recommended me here. Now I wonder what some those methods are useful for. Can you show examples of using forall (as opposed to foreach) and toList of Option?

3 Answers
Related