Jump to main content
UiO
University of Oslo
No
En
Menu
For employees
My studies
Search our webpages
Search
Home
Research
Studies
Student Life
Services and tools
About UiO
People
Sub menu
澳门皇冠体育,皇冠足球比分
Emner
Matematikk og naturvitenskap
Informatikk
IN5630
Spring 2026
Exercises
Week 01
Week 02
Week 03
Week 04
Week 05
Week 06
Week 07
Week 08
Week 09
Week 10
Week 11
Studies
>
Courses
>
IN5630 - Spring 2026
Week 04
Exercise set 4 - from PIH
Last modified Feb. 9, 2026 1:58 PM by
Michael Kirkedal Thomsen
Define an action
adder :: IO ()
that reads a given number of integers from the keyboard, one per line, and displays their sum. For example:
Exercise set 4.
Last modified Feb. 9, 2026 11:43 AM by
Michael Kirkedal Thomsen
It is the fourth week of the course, and we will cover side effects in pure functional programming. We will be reading chapters 10 and 12 in
Programming in Haskell
by Graham Hutton, focusing on the Monad type class.
main.hs
Last modified Feb. 10, 2026 9:35 AM by
Michael Kirkedal Thomsen
Feed from this page