πŸŽ“Functional Programming in Haskell

This page is based off the teachings of Professor Graham Hutton, University of Nottingham. He has approved the creation of this page and usage of his resources.

This is an advanced course on functional programming in Haskell. It is designed for second year computing students in Nottingham, but the lectures are also made available on YouTube.

The course is based on part II of Programming in Haskell. It is recommended for following the course, to purchase the below textbook, watch the youtube videos, slides are provided below to follow along, and then to try out to programming examples with resources below as well. All resources and links are provided at the bottom of the page. All credit goes to the Graham Hutton, University of Nottingham.

🧭 What This Course Covers

The course is based on Part I of Graham Hutton’s textbook Programming in Haskell and introduces foundational topics such as:

  • Basic syntax and functions

  • Recursion and higher-order functions

  • Custom data types and pattern matching

  • List comprehensions

  • Lazy evaluation and interactive programs

The full lecture series is available free on YouTube, accompanied by slides and example code.


πŸͺœ Step-by-Step Learning Path

βœ… Step 1: Bookmark the Main Page

πŸ“Ž Go to Course Page

This is your hub. It includes the video lectures, downloadable slides, and example code.


βœ… Step 2: Watch Lectures in Order

Each lecture builds on the last. Follow the sequence exactly:

  1. Start with Lecture 1 (Course Overview + Demo)

  2. Work through Lectures 2–17, one at a time

  3. Take notes, pause often, and try coding along


βœ… Step 3: Read the Book (Optional but Helpful)

πŸ“– Programming in Haskell (2nd edition) fills in background and provides exercises not covered in the videos.

Use it to:

  • Reinforce concepts

  • Get deeper explanations

  • Practice with written exercises


βœ… Step 4: Code Along with Examples

Download the example code (linked on the course site) and run them in your local Haskell environment or an online interpreter like replit or Try Haskell.

Experiment with:

  • Modifying functions

  • Creating your own recursive patterns

  • Implementing mini-projects like the Countdown game


βœ… Step 5: Do the Exercises

Some lectures include hands-on exercises (especially Recursion and IO). Try solving them yourself before checking any solutions.


πŸ›  Tools You’ll Need

  • GHC (Glasgow Haskell Compiler) Install from haskell.org

  • Editor: Use VS Code with the Haskell extension or any editor that supports Haskell

  • Hoogle: Use Hoogle to search for functions, types, and documentation


🧠 Tips for Success

  • Watch each video at 1x speedβ€”these are concept-heavy lectures

  • Type everything manually, even if code is provided

  • Don’t skip recursion or lazy evaluationβ€”they're core to Haskell

  • Use GitHub to track your progress or share your code


🌟 Bonus: What to Do After This Course

Once you’ve finished:

  • Continue to Part II of the textbook (monads, functors, etc.)

  • Explore other Haskell resources like:

    • Learn You a Haskell for Great Good

    • Real World Haskell

    • Haskell Programming from First Principles

Lectures

Additional material:

Resources

Last updated