/bypassingfreemonads

Object algebras vs. free monads, or type classes vs. ADTs

Primary LanguageScala

This repository contains the code and examples for this talk:

Bypassing free monads with object algebras

You can find the slides of the talk here.

In order to run the examples, type the following from the command prompt, which will take you to the scala console:

> ./sbt console

To exercise the live coding, type this:

> ./sbt "~testOnly org.hablapps.talk.bypassingfreemonads.templates.ObjectAlgebraApproach"