Slides & Recordings

Lecture slides and video links #

As the course progresses, I’ll add the annotated slides and live code examples, along with links to the videos (accessible with a Durham account) to this page.

  • 2024-01-08: Slides, video, code

    We got most of the way through the slides, and then did some live examples. We defined and composed some very simple functions and saw a bit of Haskell syntax that we will consider in more detail as the course progresses.

    Please setup your Haskell programming environment (GHC + an editor/IDE of your choice), try some of the examples from the lecture and try to work your way through the first exercise before the practical sessions start next week.

  • 2024-01-12: Slides, video, code

    We got most of the way through the slides, considered basic types, tuples and lists in Haskell. Further, we saw how to define functions with multiple arguments by packaging all arguments into a tuple or list.

    We considered currying as an alternative to defining n-ary functions via tuples or lists, we compared curried and uncurried versions of the same functions during live coding. Further, we introduced lambda expressions and the infix notation.

  • 2023-01-19: Slides, video, code

    We discussed list comprehensions in conjunction with generators and guard expressions. Further, we considered pattern matching and its limitations. We introduced the types of polymorphism and will continue there next time.