Lab 3

(i) Preparation for Lab 3

GHCi is installed on tux.cs.drexel.edu. You can run it by typing ghci.
You can also download and install Haskell on your computer from http://www.haskell.org/ghc/.

To exit Haskell, type Ctrl-D or :quit.
To load a file from the current directory type :load "filename".
To load maxmin.hs from the current directory :load maxmin.hs

1.      Run (on tux) and analyze all examples of Haskell code of the document Mark’s Intro to Haskell.

2.      Write and test BST functions member and insert in Haskell.

3.      Run, test (both done on tux) and analyze the Haskell and Scheme code provided in the file Lab 3 code. Review SICP sec. 4.1.4 prior to running the scheme evaluator.

 (ii) Lab 3 documents: Lab 3 form: doc, pdf