This is a course crafted for OO developers that want to learn Scala & functional programming.
Table of Contents
- Scala workshop
- Sections
- Basics 1
- Basics 2
- Abstraction
- Implicits
- Typeclasses
- Tagless Final
- exercises
- tags
- compiling
- building
- Sections
This course has the following sections, delivered during two/three days normally.
Learn the basics of the language, the most interesting features and how to deal with data using ADTs.
Learn how to apply pattern matching and recursion to solve problems on algebraic data types.
In this section we'll start to dig deeper in the functional programming aspects of Scala, and to learn new functional abstractions.
In this section we'll see what implicits are and how work.
In this section we'll learn how to implement Ad hoc polymorphism in Scala using typeclasses, and all the benefits it provides.
In this section we'll learn what tagless final is and how to use it.
Each project has a package problems
where we will find the description
of the exercises to solve them, and a package solutions
where we will
find resolved them.
You can compile the exercises with one of:
$ ./sbt exercise1/compile
$ ./sbt exercise2/compile
$ ./sbt exercise3/compile
$ ./sbt exercise4/compile
$ ./sbt exercise5/compile
$ ./sbt taglessfinal/compile
To build the slides for the course you'll need pandoc
. Get it from
your package manager.
Once you have it:
$ make all
This will generate PDFs with the presentations in the /slides
folder.