Solutions for exercises of "Scala for the Impatient, 2nd Edition".
Developed in a IPython Notebook using Apache Toree. These notebooks can be imported directly into Jupyter with Spark Kernel or Try Jupyter website and can be tweaked or modified to learn / play around more.
Cay Horstmann's Scala for the Impatient, 2nd Ed. Or check InformIT book page.
A1 level chapters [of 1st Edition] can be downloaded for free at Lightbend.
The [AL][1-3] tags below refer to Martin Odersky's Scala levels.
- 1. The Basics (A1)
- 2. Control Structures and Functions (A1)
- 3. Working with Arrays (A1)
- 4. Maps and Tuples (A1)
- 5. Classes (A1)
- 6. Objects (A1)
- 7. Packages and Imports (A1)
- 8. Inheritance (A1)
- 9. Files and Regular Expressions (A1)
- 10. Traits (L1)
- 11. Operators (L1)
- 12. Higher-Order Functions (L1)
- 13. Collections (A2)
- 14. Pattern Matching and Case Classes (A2)
- 15. Annotations (A2)
- 16. XML Processing (A2)
- 17. Futures (A2)
- 18. Type Parameters (L2)
- 19. Advanced Types (L2)
- 20. Parsing (A3)
- 21. Implicits (L3)
All the Jupyter notebooks of this repo can be browsed online either here with GitHub or with nbviewer app of jupyter.org. https://nbviewer.jupyter.org/github/P7h/Scala-for-the-Impatient__Solutions
Notebooks render beautifully on nbviewer and show the output cells as well as options for downloading the corresponding notebook, etc. This is far better than GitHub's rendering of the notebooks.
If you find any issues or would like to discuss further, please ping me on my Twitter handle @P7h or drop me an email. Appreciate your help. Thanks!
Copyright © 2017 Prashanth Babu.
Licensed under the Apache License, Version 2.0.