SMLofNJ structure
signature SML_OF_NJ
structure SMLofNJ : SML_OF_NJ
structure Cont : CONT
structure IntervalTimer : INTERVAL_TIMER
structure Internals : INTERNALS
structure SysInfo : SYS_INFO
structure Susp : SUSP
structure Weak : WEAK
val exportML : string -> bool
val exportFn : (string * ((string * string list) -> OS.Process.status)) -> unit
val getCmdName : unit -> string
val getArgs : unit -> string list
val getAllArgs : unit -> string list
datatype 'a frag
= QUOTE of string
| ANTIQUOTE of 'a
val exnHistory : exn -> string list
structure Cont
structure IntervalTimer
structure Internals
structure SysInfo
structure Susp
structure Weak
exportML filename
filename.arch-opsys (where arch is the machine architecture, such as "sparc" or "x86", and opsys is the operating system, such as "solaris" or "win32"; and return false.
When the heap image is loaded into an SML runtime system, (with sml @SMLload=filename.arch-opsys, computation will resume as if exportML had returned true.
exportFn (filename, f)
filename.arch-opsys (where arch is the machine architecture, such as "sparc" or "x86", and opsys is the operating system, such as "solaris" or "win32"; and then exit.
When the heap image is loaded into an SML runtime system, (with sml @SMLload=filename.arch-opsys arg1 arg2 ..., computation will start with a call to f(arg0,[arg1,arg2,...]) where arg0 is the name executable file (in this example, the pathname expansion of sml).
When f returns, the ML process terminates.
getCmdName ()
getArgs ()
getAllArgs ()
datatype 'a frag
exnHistory exn
Code compiled with Compiler.Control.trackExn set to false does not generate exception histories.