Lab 2

(i) Preparation for Lab 2
Sml is installed on tux.cs.drexel.edu. You can run it by typing sml.
You can also download and install Sml on your computer from http://www.smlnj.org/.

To exit Sml, type ctrl-D or OS.Process.exit(OS.Process.success);.
To load a Sml file from the current directory type use "filename";
To load the file maxmin.ml from the current directory type use "maxmin.ml";
 

1.      Run (on tux) and analyze all examples of Sml code of the document Mark’s Intro to ML (it is convenient to copy-and-paste the commands from the pdf document directly into the command line of your communication window with tux; you do not need to retype them).

2.     Run, test (both done on tux) and analyze the Sml and Scheme code provided in the file Lab 2 code (it is convenient to unzip the file on your laptop and use SSH (secure shell) file transfer window in order to copy all its content to tux with just one click).

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