I am using New Jersey SML on Windows. If test.sml
is an SML file I can execute it by running this at a Windows command prompt:
C:\> sml test.sml
I then get the usual SML output and a new SML command prompt.
Standard ML of New Jersey v110.75 [built: Sat Sep 29 12:51:13 2012]
[opening hw1.sml]
val d2 = (1,1) : int * int
val d3 = (1,1) : int * int
val d4 = (2,1) : int * int
val d5 = (1,2) : int * int
val x7 = true : bool
-
What I would like instead is to be exited back to the Windows command prompt and not be left in the SML interactive mode.
How can I do this?