This repository was archived by the owner on Jun 15, 2023. It is now read-only.
This repository was archived by the owner on Jun 15, 2023. It is now read-only.
Smart linebreak printer for pipe chains #257
Closed
Description
They are currently being formatted based on line width.
it would be good to allow user decide whether to break line on pipes or not.
for example this code gets formatted to a single line with default line width
let bazz = foo.bars->OptionEx.arrayValues->Map.String.fromArray
I found this more readable
let bazz =
foo.bars
->OptionEx.arrayValue
->Map.String.fromArray