Tutorial 1: Standard ML and Functional Programming

October 21

Getting Emacs

Getting Standard ML of New Jersey

Go here. I use this sml-mode with the following in my .emacs file:
(setq load-path (cons "/Users/rjsimmon/Projects/Rand/sml-mode" load-path))
(autoload 'sml-mode "sml-mode" "Major mode for editing SML." t)
     (defun my-sml-mode-hook () "Local defaults for SML mode"
       (setq sml-indent-level 2)        ; conserve on horizontal space
       (setq sml-indent-level 2)        ; conserve on horizontal space
       (setq words-include-escape t)    ; \ loses word break status
       (setq indent-tabs-mode nil))     ; never ever indent with tabs
     (add-hook 'sml-mode-hook 'my-sml-mode-hook)

Starter Code

The code is here. We will go through the following tasks:
$LastChangedDate: 2008-11-10 11:52:21 -0500 (Mon, 10 Nov 2008) $
$Author: rjsimmon $
$Rev: 1029 $