For the complete documentation index, see llms.txt. This page is also available as Markdown.

๐ŸŽ“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 introductory course on functional programming in Haskell. It is designed for first year computing students in Nottingham, but the lectures are also made available on YouTube.

The course is based on part I 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