This repository contains source code from week 4.
src
├── ClassAsRecord.hs -- Shows how instances can be modelled as records of functions.
├── Motivation.hs -- The Comparable motivation example.
├── Semigroups.hs -- Semigroup examples.
├── ShowExample.java -- Type classes in Java.
├── Symbolic.hs -- A num instance for symbolic arithmetic.
├── config.hs -- Config as a Monoid.
├── filtering.hs -- Filtering as a Monoid.
└── ordering.hs -- Ordering as a Monoid.