ormolu-0.7.2.0: data/examples/other/necessary-brackets-out.hs
insertEmDash = Text.concat . map \case { x | x == "--" -> "—"; x -> x } . Text.groupBy ((==) `on` Char.isSpace)
foo f a b c = f do { a } + f do { b } + f do c
insertEmDash = Text.concat . map \case { x | x == "--" -> "—"; x -> x } . Text.groupBy ((==) `on` Char.isSpace)
foo f a b c = f do { a } + f do { b } + f do c