Open
Description
Proposal to add a new setting that surronds custom operators with spaces.
F.ex
let (!>) x f = f x
becomes
let ( !> ) x f = f x
For any custom operator that starts with * and that has more than one character, you need to add a white space to the beginning of the definition to avoid a compiler ambiguity. Because of this, it seems useful to always have spaces surrounding custom operators.
As this is a stylistic request, it should be configurable by a setting SurroundCustomOperator
, disabled by default.