ennocramer / floskell

Floskell is a flexible Haskell source code pretty printer.
BSD 3-Clause "New" or "Revised" License
178 stars 22 forks source link

Incorrect alignment with strings containing non-English characters #76

Closed leandrolares closed 11 months ago

leandrolares commented 1 year ago

Strings containing characters like "ç" or "ã" result in incorrect alignment.

f :: Text -> Maybe Text
f "lençol"  = Just "sheet"
f "almofada" = Just "pillow"
f "edredão" = Just "duvet"
f _          = Nothing
ennocramer commented 11 months ago

This problem has been addressed with floskell-0.11.0.