
4.7.8 The ValuePrinter structure
Shell.Options.ValuePrinter
val maximumSeqSize: int option
maximumSeqSize option is an integer determining the maximum number of elements to print for sequence values. Sequences longer than this are elided. The default value is 10.
maximumSeqSize to 4:
MLWorks> val foo = [1, 2, 3, 4, 5, 6]; val foo : int list = [1, 2, 3, 4, 5, 6] MLWorks> set (maximumSeqSize, 4); val it : unit = () MLWorks> val foo = [1, 2, 3, 4, 5, 6]; val foo : int list = [1, 2, 3, 4, ..] MLWorks>

Generated with Harlequin WebMaker