
4.4.2 Trace
Shell.Trace
val traceFull: (string * ('a -> 'b) * ('c -> 'd)) -> unit
traceFull (name, f, g) -> ()
unit
traceFull implements conditional tracing and breakpointing. For example, assuming you have defined a factorial function fact, to unconditionally trace the factorial function with no breakpointing type:
traceFull ("fact", fn _ => true, fn _ => false);
traceFull ("fact", fn n => n < 3, fn _ => false);

Generated with Harlequin WebMaker