Skip to content

anamariamv/scala-workshop

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scala workshop

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.

Basics 1

Learn the basics of the language, the most interesting features and how to deal with data using ADTs.

Basics 2

Learn how to apply pattern matching and recursion to solve problems on algebraic data types.

Abstraction

In this section we'll start to dig deeper in the functional programming aspects of Scala, and to learn new functional abstractions.

Implicits

In this section we'll see what implicits are and how work.

Typeclasses

In this section we'll learn how to implement Ad hoc polymorphism in Scala using typeclasses, and all the benefits it provides.

Tagless Final

In this section we'll learn what tagless final is and how to use it.

Exercises

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.

Compiling

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

Building

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.

About

Scala Workshop

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Scala 56.6%
  • Shell 42.5%
  • Makefile 0.9%