Describe the bug
Template Haskell expressions in Unicode mathematical white square brackets are formatted differently than in ASCII brackets.
To Reproduce
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE UnicodeSyntax #-}
ascii = [|x|]
unicode = ⟦x⟧
Expected behavior
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE UnicodeSyntax #-}
ascii = [|x|]
unicode = [|x|]
Environment
% ormolu --version
ormolu 0.5.0.1 UNKNOWN UNKNOWN
using ghc-lib-parser 9.2.5.20221107
Describe the bug
Template Haskell expressions in Unicode mathematical white square brackets are formatted differently than in ASCII brackets.
To Reproduce
{-# LANGUAGE TemplateHaskell #-} {-# LANGUAGE UnicodeSyntax #-} ascii = [|x|] unicode = ⟦x⟧Expected behavior
{-# LANGUAGE TemplateHaskell #-} {-# LANGUAGE UnicodeSyntax #-} ascii = [|x|] unicode = [|x|]Environment