src/Pure/ML-Systems/ml_debugger.ML
changeset 60852 1c51a2ca8204
parent 60745 d86b4cd0f1ec
child 60853 b0627cb2e08d
--- a/src/Pure/ML-Systems/ml_debugger.ML	Wed Aug 05 21:46:52 2015 +0200
+++ b/src/Pure/ML-Systems/ml_debugger.ML	Thu Aug 06 11:46:47 2015 +0200
@@ -6,17 +6,16 @@
 
 signature ML_DEBUGGER =
 sig
-  type location
-  val on_entry: (string * location -> unit) option -> unit
-  val on_exit: (string * location -> unit) option -> unit
-  val on_exit_exception: (string * location -> exn -> unit) option -> unit
-  val on_breakpoint: (location * bool Unsynchronized.ref -> unit) option -> unit
+  val on_entry: (string * 'a -> unit) option -> unit
+  val on_exit: (string * 'a -> unit) option -> unit
+  val on_exit_exception: (string * 'a -> exn -> unit) option -> unit
+  val on_breakpoint: ('a * bool Unsynchronized.ref -> unit) option -> unit
   type state
   val state: Thread.thread -> state list
   val debug_function: state -> string
   val debug_function_arg: state -> ML_Name_Space.valueVal
   val debug_function_result: state -> ML_Name_Space.valueVal
-  val debug_location: state -> location
+  val debug_location: state -> 'a
   val debug_name_space: state -> ML_Name_Space.T
 end;