F2010 NUIM/CS430 Haskell Segment
Instructor
- Barak A. Pearlmutter
(office hours: catch me at the Hamilton
Institute, in south wing of Rye Hall, on Mon/Tue/Thurs afternoons,
except while I'm teaching. Or anytime. Or call.)
Course Materials
I will use a subset of these excellent slides:
1
2
3
4
5
6.
Transcripts and files created in lectures.
Good texts available online for free:
Homeworks:
- Install GHC and play with it. Run ghci. Play with it. Write
some little functions. Learn the basic syntax. Play with lists.
(Suggestion: Emacs is a great editor, especially for programmers,
and has a good Haskell mode.)
- Explain everything happening in this program:
remove-extra-blank-lines.hs.
Refactor the program to separate out the processing of the data
from the I/O.
Write a program (similar if you wish) to "disemvowel" its input,
meaning remove all vowels. (This is used by some blog moderators
as a way of indicating disapproval of a comment without removing
it.)
Write your own definitions for some of the list-processing
functions in the standard prelude---your choice which.