e.g.
structure A = struct val _ = raise Fail "" end
Turns out there are implementation dependent ways to
set a top level exception handler. Sadly, not part of
the Basis.
...he imagined substituting for all the clocks of Europe a more honest machine, a finely threaded spiral of three dimensions, that would signify not only the coming and going of day and night, but that no single day and no single night would ever return. -- Mark Helprin
structure A = struct val _ = raise Fail "" end