Category Archives: Uncategorized

Lecture 11 and 12

Lectures this week covered up to slide 39 of the lecture slides. The current topic is abstract types. These lectures covered various implementations of sets in Haskell to motivate the use of data abstraction which will be covered next week. … Continue reading

Posted in Uncategorized | Leave a comment

Lectures 9 and 10

This week, lecture 9 covered slides 1 to 23 and lecture 10 covered slides 24 to 39 of the lecture slides. You should have learnt about defining and working with  algebraic data types. The reading for this week is chapters 13 to … Continue reading

Posted in Uncategorized | Leave a comment

Lecture 8

Today’s lecture covered slides 38 to the end of these lecture slides and slides 1 to 9 and 20 to 41 of these lecture slides. You should have learnt about: currying, lambda expressions, binding of variables and functions, local binding with where clauses. — Chris

Posted in Uncategorized | Leave a comment

Lecture 7

Today’s lecture covered slides 51 to 61 of these lecture slides and slides 1 to 37  of these lecture slides. You should have learnt about the higher order functions: Map Filter Fold The reading assignment this week was to finish chapters 8 to 9 … Continue reading

Posted in Uncategorized | Leave a comment

Lecture 6

Today’s lecture covered slides 29 to 50 of the lecture slides. The reading assignment is to continue with chapters 8 to 9 of the textbook. You will have learnt about: counting (or enumeration) functions; more functions on lists: zip, search, … Continue reading

Posted in Uncategorized | 2 Comments

Lecture 5

This lecture covered up to slide 28 in the lecture slides. The reading assignment for this week is chapters 8 to 9 from the textbook (pp. 177-212). You should have learnt about: conditionals — both conditional equations (using guards) and conditional … Continue reading

Posted in Uncategorized | Leave a comment

Lecture 4

The fourth lecture covered slides 10-60 in the lecture slides. You should have learnt about recursion, the definition of recursive functions, and recursive data structures (now you know that a list is a recursive data structure). Remember to carry on … Continue reading

Posted in Uncategorized | 1 Comment

Lecture 3

The third lecture covered up to slide 9 in the lecture slides. You should have learnt about lists, list comprehensions, and QuickCheck and you should now be able to attempt the list comprehension parts of the tutorial exercise. The required … Continue reading

Posted in Uncategorized | 8 Comments

Lecture 2

The second lecture covered up to page 27 of the first set of lecture slides. You should have learned how to apply functions to data, combine or compose functions, and define new functions. The reading assignment is to continue with … Continue reading

Posted in Uncategorized | Leave a comment

Lecture 1

The first lecture covered up to page 15 of the first set of lecture slides. The required reading for this week, from the course textbook: Haskell: The Craft of Functional Programming (Third Edition) Simon Thompson, Addison-Wesley, 2011. will be Chapters … Continue reading

Posted in Uncategorized | Leave a comment