ML Resources
- SML of New Jersey: This is the best
single resource for SML. You can download SML from here (download
version 110.69 or higher). You will also find many, many resources
available from this page (books, tutorials, etc).
- Configuring SML on Windows: A file I
created as I set up SML on my home Windows machine. Please report
any errors/bugs to Stuart.
- Tips for Using SML on Attu: Stuart's tips
for attu.
- Notes on using ML inside emacs: These
are notes written by Dan Grossman about using SML from inside of
emacs.
- Resource page for
the Ullman ML book: The most useful features on this page are the
answers to starred exercises and the errata. If you search diligently,
you'll find a reference to me.
- ML Basis
Library: This is the ML equivalent of the Java API documentation. It
documents a series of libraries that are available in ML. You can "open"
one of these (the equivalent of a Java import) or you can use the dot
notation to refer to them. For example, you might say "open String" to
get access to all String functions or you can refer to them using the dot
notation, as in "String.substring".
Here are some basic tips to remember when using sml:
- Start the interpreter by typing "sml".
- Terminate each of your expressions with a semicolon. If you forget the
semicolon or enter an incomplete expression, the interpreter will type
"=" to indicate that it is expecting more input.
- You can type control-C to terminate the evaluation of an expression.
This is useful when you get infinite recursion or when you mistype an
expression and want to start over.
- To exit the program, type control-D in unix, control-Z on
Windows.
Stuart Reges
Last modified: Wed Sep 30 17:57:24 PDT 2009