Type Classes

2016-06-21

Most languages support polymorphism of one sort or another. In the type classes video we will discuss some of the different approaches you will see in different languages, and then introduce Haskell’s method. Then we will go over the functor type class, which allows you to define the higher order function map for any type you want.

Videos

In-class code

Further Reading

There is a lot of theory behind type classes. Here are some interesting readings if you would like to learn more.