sml
sml -h
Corresponding to (load "file.scm")
in Scheme:
use "filename";
Opening a library will introduce its bindings into the current environment:
open "filename";
(* or *)
open structure_name;
OS.FileSys.getDir();
OS.FileSys.chDir("filename");
CM.make "file.cm";
Find more info at https://www.smlnj.org/doc/CM/index.html.
Either use C-d
or run the following code:
OS.Process.exit(OS.Process.success);
Some links: