equal
deleted
inserted
replaced
72 (*prompts*) |
72 (*prompts*) |
73 fun ml_prompts p1 p2 = |
73 fun ml_prompts p1 p2 = |
74 (Control.primaryPrompt := p1; Control.secondaryPrompt := p2); |
74 (Control.primaryPrompt := p1; Control.secondaryPrompt := p2); |
75 |
75 |
76 (*dummy implementation*) |
76 (*dummy implementation*) |
77 fun profile (n: int) f x = f x; |
77 structure ML_Profiling = |
|
78 struct |
|
79 fun profile_time (_: (int * string) list -> unit) f x = f x; |
|
80 fun profile_time_thread (_: (int * string) list -> unit) f x = f x; |
|
81 fun profile_allocations (_: (int * string) list -> unit) f x = f x; |
|
82 end; |
78 |
83 |
79 (*dummy implementation*) |
84 (*dummy implementation*) |
80 fun print_exception_trace (_: exn -> string) (_: string -> unit) f = f (); |
85 fun print_exception_trace (_: exn -> string) (_: string -> unit) f = f (); |
81 |
86 |
82 |
87 |