Chapter 2. Control Structures and Functions
Topics in This Chapter
• 2.1 Conditional Expressions — page 14
• 2.2 Statement Termination — page 15
• 2.3 Block Expressions and Assignments — page 16
• 2.4 Input and Output — page 17
• 2.6 Advanced for
Loops and for
Comprehensions — page 19
• 2.8 Default and Named Arguments — page 21
• 2.9 Variable Arguments — page 22
• 2.11
Get Scala for the Impatient now with the O’Reilly learning platform.
O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.