Scala:
From a functional programming perspective
Vicenç Torra
Springer, 2017, Approx. 120 p. (ISBN: 978-3-319-46481-7).
https://www.springer.com/gp/book/9783319464800



El llibre
This book is an introduction to the language Scala focusing on the aspects related to functional programming. The book includes examples of recursion, higher order functions, lazy evaluation, algebraic data types. It also includes a description of the object oriented aspects of the language. The book finishes with an introduction to parallelism in Scala and, in particular, to actors model (including, Akka's actor model).
The structure of the book is as follows:
  • 1. An introduction to functional programming languages
  • 2. The basics of the language
  • 3. Lazy and eager evaluation
  • 4. Object-oriented programming in Scala
  • 5. Types and classes revisited: polymorphism
  • 6. Scala: OOL and FP
  • 7. Algebraic data types
  • 8. Parallelism
  • 9. Solutions (to exercises)

 
MDAI

Vicenç Torra

Modeling Decisions for Artificial Intelligence

Last modified: 10 : 37 June 05 2018.