Skip main navigation
We use cookies to give you a better experience, if that’s ok you can close this message and carry on browsing. For more info read our cookies policy.
We use cookies to give you a better experience. Carry on browsing if you're happy with this, or read our cookies policy for more information.

Skip to 0 minutes and 8 secondsSPEAKER: Hi! We hope you enjoyed the first week of our functional programming course. This week, we're going to be looking at more basic building blocks of the Haskell language. We'll explore programs that have side effects. This is moderately complex in a pure language like Haskell. We'll also be telling you how to install the GHC tool chain on your local machine so you won't need to be logged into our online Haskell interpreter in order to run your Haskell programs. Let me leave you with a funny joke about Haskell from the XKCD webcomic. One person says, "Code written in Haskell is guaranteed to have no side effects." And the other person quizzically replies, "Because no one will ever run it?"

Skip to 1 minute and 1 secondWe hope that you'll all be running lots of Haskell code this week on the functional programming course.

Welcome to week 2

How are you getting on with functional programming? We introduced lots of basic concepts last week, and related many of them to traditional imperative languages. This week, we will continue to explore elementary Haskell features. We encourage you to try things out in the interactive exercise steps.

Eventually, we want you to migrate from the online interpreter to using GHC — the Glasgow Haskell Compiler. We’ll walk you through the installation process at the end of this week. This will be important for later in the course, when your Haskell programs get more complex.

Share this video:

This video is from the free online course:

Functional Programming in Haskell: Supercharge Your Coding

University of Glasgow

Get a taste of this course

Find out what this course is like by previewing some of the course steps before you join:

Contact FutureLearn for Support