DM22, Spring 2007 - Weekly Note 6
Advertisement: The next Matalogi-party will take place Friday, April 20. There will be live band, good food, and of course nice company. Sign up at the departmental office.
Lecture March 5Accumulators. Trees.
ReadingSections 6.1, 7.3.1, and 7.3.3 in Bird. Slides (trees.hs)
Lecture March 12 Expected Contents)More on Trees. Tupling. Modules. Handout of first project.
ReadingSections 6.2, 7.4.1-2, 7.4.4, and 8.2 in Bird. Slides (trees.hs).
Exercises March 14Exercise 7.3.1 in Bird.
Make functions
Make a function which implements a DFS traversal for the datatype
Make a function which implements a BFS traversal for the datatype
Exam of summer 2002 (pdf), exercise 4. Exam of summer 2004 (pdf), exercise 3.
Maintained by Rolf Fagerberg (rolf@imada.sdu.dk) | |