Resources

From CS 152

Jump to: navigation, search

Contents

cs51 assignments

The initial homeworks will be based on spring 2008 cs51's last two assignments (8 and 9).

Homework 8: Browsable listing, as a tar file, and as a zip file (Handout)

Homework 9: Browsable listing, as a tar file, and as a zip file (Handout)

Haskell on nice

We have set up ghc under the lib152@fas class account. add 'export PATH=~lib152/ghc/bin:${PATH}' to an init file such as ~/.bashrc, log out and back in, and you should be able to access ghc

Hello world example: run ghci, and type into the prompt: ' putStr "Hello, world!\n" '. Alternatively, create a file AFile.hs with the following in it: ' main = putStr "Hello, world!\n" ' and run ' runghc AFile.hs ' (all of these commands should be run without the single quotes :-)).

If you want to compile a standalone program, run 'ghc -o hello Main.hs', which will produce a standalone executable hello. However there is normally no need to do this.

Here is a nice Haskell tutorial

Computing Resources

Harvard's HPC cluster

Interesting Links

An article on futures as they are implemented in the upcoming C++0x. Interesting to compare to the features of our Scheme152 implementations.