Functional Programming and Intelligent Algorithms

Week 1: Getting started with Haskell

Time Topic Reading
8.15- Introductory Lecture (Thompson Chapter 1-3
9.00- Install software
Tutorial 1: Getting Started
11.45- Lunch break
12.15- Recap/discussion of Tutorial 1
Lecture: Recursion and problem solving Thompson Chapter 4, 10.2)
13.00- Tutorial 2–4: Using functions
If time, continue on Tutorial 5

We will focus on Tutorials 1–4 in class. You should aim to complete all five tutorials by next Friday, especially if you find it challenging.

This document is available in a PDF version in addition to this one in HTML.


1 Software Installation
2 Tutorial 1: Getting Started
3 Tutorial 2: Studying functions in Haskell
4 Tutorial 3: Recursion and Problem Solving
5 Tutorial 4: Higher-Order Functions
6 Tutorial 5 (Optional): The Pictures DSL
7 Solutions


25th April 2017
Hans Georg Schaathun / hasc@ntnu.no