roelvandijk / containers-unicode-symbols

Unicode alternatives for common functions and operators
http://haskell.org/haskellwiki/Unicode-symbols
Other
9 stars 6 forks source link

Homoglyph warnings #7

Open subttle opened 5 years ago

subttle commented 5 years ago

When building this project I get many warnings regarding homoglyphs, e.g.:

/Users/user/workspace/haskell/containers-unicode-symbols/Data/Set/Unicode.hs:170:2: error:        
     warning: treating Unicode character <U+2216> as identifier character rather than as '\' symbol [-Wunicode-homoglyph]
    |                                                                                                                                                                                                                                                        
170 | (∖) ∷ Ord α ⇒ Set α → Set α → Set α 
    |  ^           

Upon looking into it, these types of warnings can be ignored by adding cpp-options: -Wno-unicode-homoglyph to the cabal file.

danwdart commented 11 months ago

I think that specific one is a bit wrong, because it genuinely looks very similar.