--- a/src/Pure/ML-Systems/mosml.ML Mon Jul 04 17:07:14 2005 +0200
+++ b/src/Pure/ML-Systems/mosml.ML Mon Jul 04 17:07:15 2005 +0200
@@ -68,11 +68,14 @@
fun make_pp path pprint = ();
fun install_pp _ = ();
-(*profiling -- dummy implementation*)
+(*dummy implementation*)
+fun ml_prompts p1 p2 = ();
+
+(*dummy implementation*)
fun profile (n: int) f x = f x;
-(*prompts -- dummy impelemtation*)
-fun ml_prompts p1 p2 = ();
+(*dummy impelemtation*)
+fun exception_trace f = f ();
(** Compiler-independent timing functions **)
--- a/src/Pure/ML-Systems/smlnj.ML Mon Jul 04 17:07:14 2005 +0200
+++ b/src/Pure/ML-Systems/smlnj.ML Mon Jul 04 17:07:15 2005 +0200
@@ -59,13 +59,15 @@
| _ => use "ML-Systems/cpu-timer-gc.ML");
-(*profiling -- dummy implementation*)
-fun profile (n: int) f x = f x;
-
(*prompts*)
fun ml_prompts p1 p2 =
(Compiler.Control.primaryPrompt := p1; Compiler.Control.secondaryPrompt := p2);
+(*dummy impelemtation*)
+fun profile (n: int) f x = f x;
+
+(*dummy impelemtation*)
+fun exception_trace f = f ();
(case #version_id (Compiler.version) of
[110, x] => if x >= 44
@@ -73,6 +75,7 @@
else ()
| _ => ());
+
(* toplevel pretty printing (see also Pure/install_pp.ML) *)
(case #version_id (Compiler.version) of