Introduction to Functional Programming
A course at Helsinki University in spring 2018.
University course page.
Sponsored by Nitor
Announcements
Course t-shirts distributed in Exactum on Monday 2018-05-21, 16-18 o’clock.
If you can’t make it, you can pick up your t-shirt from Gurula later.
Material
Results
Tentative results for the whole course. Contact Joel if you think they are wrong.
Exercises
See the ifp2018-exercises github repository.
There are two ways to return the exercises:
- A web page, follow the instructions
- By email to
joel . kaasinen (at) gmail.com
. Name the file like W1.Name.Surname.hs
.
Exercises:
- W1: deadline Sunday 2018-03-25T23:59:59
- Most common mistakes:
- Didn’t use pattern matching in 7 or 15
- Exponential time solution for 12
- Solutions
- W2: deadline extended to Sunday 2018-04-08T23:59:59
- Most common mistakes:
- Didn’t use pattern matching in 14, 16 or 19
- Not actually mergesort in 17
- Solutions
- W3: deadline Sunday 2018-04-15T23:59:59
- W4: deadline Sunday 2018-04-22T23:59:59
- There were some problems with the tests this week, so grading will be lenient
- Solutions
- W5: deadline Sunday 2018-04-29T23:59:59
- W6: deadline Sunday 2018-05-06T23:59:59
- Most common mistakes:
- Used pattern matching in 2
- Used length in 6
- Used list comprehensions instead of monad in 13
- Solutions
- W7 (“the exam”): deadline Sunday 2018-05-13T23:59:59
- Most common mistakes:
- Used list functions 4
- Some missing cases in 7
Changelog
- 2018-05-15 tentative results for course
- 2018-05-08 solutions for W6
- 2018-05-03 results for W5
- 2018-05-02 add grade thresholds to slides, publish W5 solutions
- 2018-04-30 results for W4
- 2018-04-25 publish W4 solutions
- 2018-04-25 add dates of last workshops
- 2018-04-24 fixes to lecture 6 slides
- 2018-04-20 results and solutions for W3
- 2018-04-18 future deadlines on course page
- 2018-04-18 improve lecture 5 slides “Instance hierarchy” and “Pretty normal forms”
- 2018-04-17 publish W5 exercises
- 2018-04-15 more information about return and <- in slides
- 2018-04-11 more Either and Maybe examples in slides
- 2018-04-09 publish W2 solutions, W4 exercises
- 2018-03-28 W3 exercises released
- 2018-03-28 add Easter break announcement
- 2018-03-28 fixes to score list
- 2018-03-27 publish W1 solutions
- 2018-03-26 results for W1, W2 DL extension
- 2018-03-21 web page for returning exercises
- 2018-03-20 lecture 2 and W2 test fixes
- 2018-03-20 add a slide on grading
- 2018-03-20 W2 exercises released
- 2018-03-19 minor fixes to W1 tests
- 2018-03-13 added changelog, fixed typos in lecture 1 material