Haskell CS 421 LogoCS 421 — Programming Languages

Type Classes

Synopsis

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.

Handouts

Videos

Further Reading