vitobasso / shapeless-workshop

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This project contains exercises for a Shapeless workshop given at Lunatech.

Slides can be found here

Shapeless

won’t be so mystical after this workshop

You’ll add this library for Generic Programming in Scala to your tool belt. Generic programming is about writing one piece of code that will work for any type. When you’re, say, converting Json, you don’t want type restrictions: the same logic applies for Cat, Aeroplane or BankAccount objects.

If you’re curious you might also find joy in learning strange programming techniques where code runs at compile time and is reminiscent of the logic programming paradigm.

Prerequisites

  • You’re comfortable with implicits.
  • And most of the content from the Advanced Scala course.
  • You’ve heard of Type Classes.

Preparations

  • Clone the exercises from github
  • Make sure it’s compiling

About


Languages

Language:Scala 97.6%Language:SuperCollider 2.4%