When using a long operator (infix application), the "head" becames "detached" from a body for a very long distance.
Examples:
examples =
x
`veryLongFunctionNameUsedAsOperator` head
body
tail
<----------------------------------> head
{ body,
tail
}
Expected
examples =
x
`veryLongFunctionNameUsedAsOperator`
head
body
tail
<---------------------------------->
head
{ body,
tail
}
For me personally, any operator of width >1 is long, but Ormolu maintainers may have another taste.
Better solution: just preserve the line break after the operator.
When using a long operator (infix application), the "head" becames "detached" from a body for a very long distance.
Examples:
Expected
For me personally, any operator of width >1 is long, but Ormolu maintainers may have another taste.
Better solution: just preserve the line break after the operator.