Skip to content

GHC does not support Unicode mathematical functions

Summary

GHC seems to be anchored in the late 60's. If it purports to support Unicode, why do the math functions ≤, ≥, ≠, ∧, and ∨ give errors? You need to get away from ASCII and start supporting Unicode. Or is Haskell just syntactic sugar for C like Python?

Steps to reproduce

5 ≤ 5 7 ≥ 3 0 ≠ 0 True ∧ True False ∨ True

Expected behavior

Return the value of the function. :version

Environment

  • GHC version used: The Glorious Glasgow Haskell Compilation System, version 8.6.5

Optional:

  • Operating System: Ubuntu MATE 20.04.3
  • System Architecture: AMD x64
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information