Data and Math
vpprint
Prints long values across lines, wrapped to the width you choose.
Released v1.0.0 · 2026-09-28use "stdlib/pprint.ven"
Width aware pretty printing of ordinary values such as lists, tuples and maps, built on Venutian's own text conversion, which already renders these values on one line, adding real line wrapping to a chosen width and readable indentation for nested structures.
print pformat([1, 2, 3])
Reference (4 functions)
API reference
pformat(value)
Renders value as Text, wrapping wide containers onto multiple lines.
pformat([1, 2, 3])pformat_width(value, width)
pformat_width([1, 2, 3], 5)pprint_width(value, width)
Prints value to standard output, pretty-printed to fit width columns.
pprint_width([1, 2, 3], 5)pprint(value)
pprint([1, 2, 3])