mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-15 01:13:30 +00:00
Estimated hours taken: 4 (mostly testing)
Branches: main
library/array.m:
Simplify the handling of separators in array_to_doc.
library/list.m:
Simplify the handling of separators in list_to_doc.
Change the indentation for list docs from two spaces
to one: if, as is often the case, the opening bracket
starts a new line, then this slightly improves the look
of the output.
library/pretty_printer.m:
Use a new constant `ellipsis' rather than `str("...")'
throughout.
tests/debugger/browse_pretty.inp:
Use a larger depth to see the whole term (the new pretty
printer counts terms in a slightly different - more
accurate - way to the old one).
tests/hard_coded/test_pretty_printer_defaults.exp:
Update the expected output.
42 lines
279 B
Plaintext
42 lines
279 B
Plaintext
echo on
|
|
goto 3
|
|
print *
|
|
browse 1
|
|
format pretty
|
|
depth 20
|
|
ls
|
|
width 131
|
|
ls
|
|
width 30
|
|
ls
|
|
width 10
|
|
ls
|
|
width 79
|
|
depth 3
|
|
ls
|
|
format raw_pretty
|
|
lines 4
|
|
width 40
|
|
ls
|
|
width 80
|
|
ls
|
|
lines 12
|
|
width 40
|
|
ls
|
|
cd 3
|
|
lines 4
|
|
width 30
|
|
ls
|
|
quit
|
|
print goal
|
|
browse goal
|
|
ls
|
|
^1
|
|
ls
|
|
^..
|
|
ls
|
|
^1^2^2
|
|
ls
|
|
quit
|
|
continue
|