SML

home1 home2
 Bib
 Algorithms
 Bioinfo
 FP
 Logic
 MML
 Prog.Lang
and the
 Book

FP (external)
FP (local)
 SML
  SML97
 compared

2005:

[SML97] examples.
 
Run SML in interactive mode, e.g. on nexus,
ne> sml
Standard ML of New Jersey, Version 110.0.7, September 28, 2000 [CM; autoload enabled]
- 1+2;
val it = 3 : int
- <CTRL>d
or run a program in a file,
ne> sml < y.sml
Standard ML ...
- = val it = 6 : int
or run a program in a file in interactive mode
ne> sml
Standard ML ...
- use "y.sml";
[opening y.sml]
val it = 6 : int
val it = () : unit
NB. Quote the file name; the name is a string.

c1990:

Also see
[bibliography], [programming languages].
Coding Ockham's Razor, L. Allison, Springer

A Practical Introduction to Denotational Semantics, L. Allison, CUP

Linux
 Ubuntu
free op. sys.
OpenOffice
free office suite
The GIMP
~ free photoshop
Firefox
web browser

SML:
:: cons
[x1,...] list
[ ] list
@ append
fn =>  &lambda .
: has type

© L. Allison   http://www.allisons.org/ll/   (or as otherwise indicated),
Faculty of Information Technology (Clayton), Monash University, Australia 3800 (6/'05 was School of Computer Science and Software Engineering, Fac. Info. Tech., Monash University,
was Department of Computer Science, Fac. Comp. & Info. Tech., '89 was Department of Computer Science, Fac. Sci., '68-'71 was Department of Information Science, Fac. Sci.)
Created with "vi (Linux + Solaris)",  charset=iso-8859-1,  fetched Tuesday, 19-Mar-2024 16:25:52 AEDT.