
4.7.8 The ValuePrinter structure
Shell.Options.ValuePrinter
val maximumStrDepth: int option
maximumStrDepth option is an integer determining the maximum depth in a nested structure at which to print ML structure contents. The contents of structures deeper than this are elided. The default value is 2.
maximumStrDepth is the default value of 2. The example structure has depth 3, and therefore the deepest part of it, structure U, is elided:
MLWorks> structure S = struct
val x =45;
structure T = struct
structure U = struct
val y = 1; end end end;
structure S =
struct
structure T =
struct
structure U = struct ... end
end
val x : int = 45
end
MLWorks>

Generated with Harlequin WebMaker