Lines package:tomland

How to print Array. OneLine:
foo = [a, b]

MultiLine:
foo =
[ a
, b
]

Default is OneLine.