CSE 341 - Programming Languages - Autumn 2008

Haskell and Functional Programming

Haskell will be a vehicle to discuss programming in a pure functional language, and static, polymorphic type systems and type inference.

Getting Started

Haskell Lecture Notes

The Haskell lectures notes can all be run in Haskell! The above links are to plain text files (with .txt extensions). Here is a zip file with all of the runnable lecture notes, with the correct .hs extensions: haskell_code.zip.

Other Haskell Information

The Haskell Prelude is a set of standard functions that come with Haskell -- the index (linked above) is a useful way to find out what is buit in.

"Haskell mode for Emacs" is a convenient way to run Haskell from the emacs editor, as well as letting emacs know about Haskell syntax. I wouldn't start with this right off -- figure out how to run Haskell just by itself first -- but you may well find it convenient after you're comfortable with Haskell.

Student Programs - Examples

Here are some interesting examples of Haskell programs submitted by 341 students this quarter: