After I start and execute this great program, I expected to see the output val it = 2 : int
$ sml
Standard ML of New Jersey v110.74 [built: Fri Dec 7 10:09:50 2012]
- 1+1
=
=
=
However, I see only equals, and when I execute the same program in emacs, I get the same behaviour. sml never prints the result.
I am working in last version of ubuntu.
You forgot the semicolon.